#9E68CA#9E68CA

#9E68CA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.5% C 0.152 H 308.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9E68CA
RGBrgb(158, 104, 202)
HSLhsl(273, 48%, 60%)
HSVhsv(273, 49%, 79%)
CMYKcmyk(21.8%, 48.5%, 0%, 20.8%)
CIE-LABlab(53.42, 40.10, -42.84)
CIE-LCHlch(53.42, 58.68, 313.11°)
OKLaboklab(61.5% 0.0935 -0.1198)
OKLCHoklch(61.5% 0.152 308)
XYZxyz(29.7094, 21.4344, 58.4378)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E68CA #94CA68
analogous
#6D68CA #9E68CA #CA68C5
triadic
#9E68CA #CA9E68 #68CA9E
tetradic
#9E68CA #CA6D68 #94CA68 #68C5CA
square
#9E68CA #CA6D68 #94CA68 #68C5CA
split-complementary
#9E68CA #C5CA68 #68CA6D
monochromatic
#603088 #8040B5 #9E68CA #BB95DA #D8C3EA

Accessibility & contrast

On white

3.97
#9E68CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9E68CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E68CA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E68CA#FFFFFF#000000##000000
##9E68CA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7DCD
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#987890
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e68ca;
/* rgb */ color: rgb(158, 104, 202);
/* oklch */ color: oklch(61.5% 0.152 308.0);
Tailwind
colors: {
  custom: {
    50: '#bd94da',
    500: '#9e68ca',
    950: '#000000',
  },
}
SCSS
$custom: #9e68ca;
$custom-light: #bd94da;
$custom-dark: #000000;
JSON
{
  "hex": "#9e68ca",
  "rgb": {
    "r": 158,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 273.061,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.15193,
    "h": 308
  },
  "luminance": 0.21434
}

Semantic roles & 50–950 ramp

primary
#9E68CA
secondary
#C5DAB4
accent
#D8508D
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9E68CA

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

Preview Lab → · Contrast checker → · Palette generator →

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