#9D68EC#9D68EC

#9D68EC is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.4% C 0.192 H 299.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9D68EC
RGBrgb(157, 104, 236)
HSLhsl(264, 78%, 67%)
HSVhsv(264, 56%, 93%)
CMYKcmyk(33.5%, 55.9%, 0%, 7.5%)
CIE-LABlab(55.20, 48.01, -59.21)
CIE-LCHlch(55.20, 76.23, 309.03°)
OKLaboklab(63.4% 0.0945 -0.1677)
OKLCHoklch(63.4% 0.192 299.4)
XYZxyz(33.9916, 23.1246, 82.0133)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D68EC #B7EC68
analogous
#6875EC #9D68EC #DF68EC
triadic
#9D68EC #EC9D68 #68EC9D
tetradic
#9D68EC #EC6875 #B7EC68 #68ECDF
square
#9D68EC #EC6875 #B7EC68 #68ECDF
split-complementary
#9D68EC #ECDF68 #75EC68
monochromatic
#5C18C1 #7A32E5 #9D68EC #C09EF3 #E4D5FA

Accessibility & contrast

On white

3.73
#9D68EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9D68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D68EC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D68EC#FFFFFF#000000##000000
##9D68EC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C84F0
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#8C83A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9d68ec;
/* rgb */ color: rgb(157, 104, 236);
/* oklch */ color: oklch(63.4% 0.192 299.4);
Tailwind
colors: {
  custom: {
    50: '#be95f3',
    500: '#9d68ec',
    950: '#000000',
  },
}
SCSS
$custom: #9d68ec;
$custom-light: #be95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d68ec",
  "rgb": {
    "r": 157,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 264.091,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63403,
    "c": 0.19244,
    "h": 299.4
  },
  "luminance": 0.23125
}

Semantic roles & 50–950 ramp

primary
#9D68EC
secondary
#DCEDC3
accent
#DA0C87
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9D68EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9D68EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva