#9E68DB#9E68DB

#9E68DB is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.5% C 0.172 H 303.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9E68DB
RGBrgb(158, 104, 219)
HSLhsl(268, 61%, 63%)
HSVhsv(268, 53%, 86%)
CMYKcmyk(27.9%, 52.5%, 0%, 14.1%)
CIE-LABlab(54.33, 44.10, -51.05)
CIE-LCHlch(54.33, 67.46, 310.82°)
OKLaboklab(62.47% 0.0951 -0.1437)
OKLCHoklch(62.47% 0.172 303.5)
XYZxyz(31.8342, 22.2843, 69.6283)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E68DB #A5DB68
analogous
#686BDB #9E68DB #D768DB
triadic
#9E68DB #DB9E68 #68DB9E
tetradic
#9E68DB #DB686B #A5DB68 #68DBD7
square
#9E68DB #DB686B #A5DB68 #68DBD7
split-complementary
#9E68DB #DBD768 #6BDB68
monochromatic
#6127A2 #7E37CF #9E68DB #BE99E7 #DDCBF3

Accessibility & contrast

On white

3.85
#9E68DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9E68DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E68DB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E68DB#FFFFFF#000000##000000
##9E68DB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#5182D8
Tritanopia (blue-blind)
#937D98
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9e68db;
/* rgb */ color: rgb(158, 104, 219);
/* oklch */ color: oklch(62.5% 0.172 303.5);
Tailwind
colors: {
  custom: {
    50: '#be95e7',
    500: '#9e68db',
    950: '#000000',
  },
}
SCSS
$custom: #9e68db;
$custom-light: #be95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e68db",
  "rgb": {
    "r": 158,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 268.174,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.17232,
    "h": 303.5
  },
  "luminance": 0.22284
}

Semantic roles & 50–950 ramp

primary
#9E68DB
secondary
#D1E4BB
accent
#C91C78
background
#FBF9FE
surface
#F7F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9E68DB

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

Preview Lab → · Contrast checker → · Palette generator →

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