#6E38C8#6E38C8

#6E38C8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.208 H 294.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6E38C8
RGBrgb(110, 56, 200)
HSLhsl(263, 57%, 50%)
HSVhsv(263, 72%, 78%)
CMYKcmyk(45%, 72%, 0%, 21.6%)
CIE-LABlab(38.40, 54.07, -66.13)
CIE-LCHlch(38.40, 85.42, 309.27°)
OKLaboklab(49.3% 0.0868 -0.1894)
OKLCHoklch(49.3% 0.208 294.6)
XYZxyz(18.2671, 10.3130, 55.6605)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38C8 #92C838
analogous
#384AC8 #6E38C8 #B638C8
triadic
#6E38C8 #C86E38 #38C86E
tetradic
#6E38C8 #C8384A #92C838 #38C8B6
square
#6E38C8 #C8384A #92C838 #38C8B6
split-complementary
#6E38C8 #C8B638 #4AC838
monochromatic
#391D69 #542A99 #6E38C8 #9168D5 #B498E3

Accessibility & contrast

On white

6.86
#6E38C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6E38C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E38C8
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38C8#FFFFFF#000000##FFFFFF
##6E38C81.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#545D7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6e38c8;
/* rgb */ color: rgb(110, 56, 200);
/* oklch */ color: oklch(49.3% 0.208 294.6);
Tailwind
colors: {
  custom: {
    50: '#9f73da',
    500: '#6e38c8',
    950: '#000000',
  },
}
SCSS
$custom: #6e38c8;
$custom-light: #9f73da;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38c8",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 262.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.20835,
    "h": 294.6
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#6E38C8
secondary
#B6CE8E
accent
#E048A7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6E38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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