#6848DA#6848DA

#6848DA is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.211 H 286.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6848DA
RGBrgb(104, 72, 218)
HSLhsl(253, 66%, 57%)
HSVhsv(253, 67%, 85%)
CMYKcmyk(52.3%, 67%, 0%, 14.5%)
CIE-LABlab(42.21, 49.79, -70.31)
CIE-LCHlch(42.21, 86.15, 305.31°)
OKLaboklab(52.34% 0.0607 -0.2019)
OKLCHoklch(52.34% 0.211 286.7)
XYZxyz(20.6774, 12.6387, 67.6660)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848DA #BADA48
analogous
#4871DA #6848DA #B148DA
triadic
#6848DA #DA6848 #48DA68
tetradic
#6848DA #DA4871 #BADA48 #48DAB1
square
#6848DA #DA4871 #BADA48 #48DAB1
split-complementary
#6848DA #DAB148 #71DA48
monochromatic
#351C8B #4826BE #6848DA #927BE4 #BCAEEF

Accessibility & contrast

On white

5.95
#6848DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6848DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848DA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848DA#FFFFFF#000000##FFFFFF
##6848DA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#3B6D8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6848da;
/* rgb */ color: rgb(104, 72, 218);
/* oklch */ color: oklch(52.3% 0.211 286.7);
Tailwind
colors: {
  custom: {
    50: '#9d7de7',
    500: '#6848da',
    950: '#000000',
  },
}
SCSS
$custom: #6848da;
$custom-light: #9d7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6848da",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 253.151,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.21083,
    "h": 286.7
  },
  "luminance": 0.1264
}

Semantic roles & 50–950 ramp

primary
#6848DA
secondary
#D0DDA1
accent
#E93FC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6848DA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6848DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva