#8C3DD9#8C3DD9

#8C3DD9 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.225 H 302.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8C3DD9
RGBrgb(140, 61, 217)
HSLhsl(270, 67%, 55%)
HSVhsv(270, 72%, 85%)
CMYKcmyk(35.5%, 71.9%, 0%, 14.9%)
CIE-LABlab(44.12, 61.24, -66.46)
CIE-LCHlch(44.12, 90.37, 312.66°)
OKLaboklab(54.56% 0.1209 -0.1894)
OKLCHoklch(54.56% 0.225 302.6)
XYZxyz(25.0054, 13.9226, 67.0022)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3DD9 #8AD93D
analogous
#3E3DD9 #8C3DD9 #D93DD8
triadic
#8C3DD9 #D98C3D #3DD98C
tetradic
#8C3DD9 #D93E3D #8AD93D #3DD8D9
square
#8C3DD9 #D93E3D #8AD93D #3DD8D9
split-complementary
#8C3DD9 #D8D93D #3DD93E
monochromatic
#4E1982 #6D24B5 #8C3DD9 #AA70E3 #C9A3ED

Accessibility & contrast

On white

5.55
#8C3DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8C3DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3DD9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3DD9#FFFFFF#000000##FFFFFF
##8C3DD91.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#7C6388
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8c3dd9;
/* rgb */ color: rgb(140, 61, 217);
/* oklch */ color: oklch(54.6% 0.225 302.6);
Tailwind
colors: {
  custom: {
    50: '#b479e6',
    500: '#8c3dd9',
    950: '#000000',
  },
}
SCSS
$custom: #8c3dd9;
$custom-light: #b479e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3dd9",
  "rgb": {
    "r": 140,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 270.385,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.22466,
    "h": 302.6
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#8C3DD9
secondary
#B8DA98
accent
#EA3E93
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C3DD9

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

Preview Lab → · Contrast checker → · Palette generator →

#8C3DD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva