#9E68CD#9E68CD

#9E68CD is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.7% C 0.156 H 307.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9E68CD
RGBrgb(158, 104, 205)
HSLhsl(272, 50%, 61%)
HSVhsv(272, 49%, 80%)
CMYKcmyk(22.9%, 49.3%, 0%, 19.6%)
CIE-LABlab(53.58, 40.79, -44.31)
CIE-LCHlch(53.58, 60.23, 312.64°)
OKLaboklab(61.67% 0.0938 -0.124)
OKLCHoklch(61.67% 0.156 307.1)
XYZxyz(30.0681, 21.5778, 60.3267)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E68CD #97CD68
analogous
#6B68CD #9E68CD #CD68CA
triadic
#9E68CD #CD9E68 #68CD9E
tetradic
#9E68CD #CD6B68 #97CD68 #68CACD
square
#9E68CD #CD6B68 #97CD68 #68CACD
split-complementary
#9E68CD #CACD68 #68CD6B
monochromatic
#612E8C #803EBA #9E68CD #BC96DC #D9C4EB

Accessibility & contrast

On white

3.95
#9E68CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9E68CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E68CD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E68CD#FFFFFF#000000##000000
##9E68CD1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#5B81CA
Tritanopia (blue-blind)
#977991
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e68cd;
/* rgb */ color: rgb(158, 104, 205);
/* oklch */ color: oklch(61.7% 0.156 307.1);
Tailwind
colors: {
  custom: {
    50: '#bd94dd',
    500: '#9e68cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e68cd;
$custom-light: #bd94dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e68cd",
  "rgb": {
    "r": 158,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 272.079,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61667,
    "c": 0.15552,
    "h": 307.1
  },
  "luminance": 0.21578
}

Semantic roles & 50–950 ramp

primary
#9E68CD
secondary
#C7DCB5
accent
#BE286E
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9E68CD

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

Preview Lab → · Contrast checker → · Palette generator →

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