#6E3DEE#6E3DEE

#6E3DEE is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.245 H 287.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6E3DEE
RGBrgb(110, 61, 238)
HSLhsl(257, 84%, 59%)
HSVhsv(257, 74%, 93%)
CMYKcmyk(53.8%, 74.4%, 0%, 6.7%)
CIE-LABlab(42.50, 61.80, -81.18)
CIE-LCHlch(42.50, 102.03, 307.28°)
OKLaboklab(53.19% 0.0739 -0.2336)
OKLCHoklch(53.19% 0.245 287.6)
XYZxyz(23.5272, 12.8243, 82.1080)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E3DEE #BDEE3D
analogous
#3D64EE #6E3DEE #C63DEE
triadic
#6E3DEE #EE6E3D #3DEE6E
tetradic
#6E3DEE #EE3D64 #BDEE3D #3DEEC6
square
#6E3DEE #EE3D64 #BDEE3D #3DEEC6
split-complementary
#6E3DEE #EEC63D #64EE3D
monochromatic
#370EA2 #4A13DB #6E3DEE #9875F3 #C2AEF8

Accessibility & contrast

On white

5.89
#6E3DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6E3DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E3DEE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E3DEE#FFFFFF#000000##FFFFFF
##6E3DEE1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F3
Deuteranopia (green-blind)
#005FEB
Tritanopia (blue-blind)
#386E93
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6e3dee;
/* rgb */ color: rgb(110, 61, 238);
/* oklch */ color: oklch(53.2% 0.245 287.6);
Tailwind
colors: {
  custom: {
    50: '#a478f5',
    500: '#6e3dee',
    950: '#000000',
  },
}
SCSS
$custom: #6e3dee;
$custom-light: #a478f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e3dee",
  "rgb": {
    "r": 110,
    "g": 61,
    "b": 238
  },
  "hsl": {
    "h": 256.61,
    "s": 83.886,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53193,
    "c": 0.24498,
    "h": 287.6
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#6E3DEE
secondary
#D3E6A0
accent
#FA2EC2
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#110917
muted
#807B85

Preview Lab

Preview with #6E3DEE

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

Preview Lab → · Contrast checker → · Palette generator →

#6E3DEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva