#9F68CA#9F68CA

#9F68CA is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.6% C 0.152 H 308.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9F68CA
RGBrgb(159, 104, 202)
HSLhsl(274, 48%, 60%)
HSVhsv(274, 49%, 79%)
CMYKcmyk(21.3%, 48.5%, 0%, 20.8%)
CIE-LABlab(53.53, 40.38, -42.66)
CIE-LCHlch(53.53, 58.74, 313.42°)
OKLaboklab(61.61% 0.0947 -0.1192)
OKLCHoklch(61.61% 0.152 308.5)
XYZxyz(29.9070, 21.5362, 58.4471)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F68CA #93CA68
analogous
#6E68CA #9F68CA #CA68C4
triadic
#9F68CA #CA9F68 #68CA9F
tetradic
#9F68CA #CA6E68 #93CA68 #68C4CA
square
#9F68CA #CA6E68 #93CA68 #68C4CA
split-complementary
#9F68CA #C4CA68 #68CA6E
monochromatic
#613088 #8240B5 #9F68CA #BC95DA #D9C3EA

Accessibility & contrast

On white

3.96
#9F68CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#9F68CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F68CA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F68CA#FFFFFF#000000##000000
##9F68CA1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#5E81C7
Tritanopia (blue-blind)
#997890
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f68ca;
/* rgb */ color: rgb(159, 104, 202);
/* oklch */ color: oklch(61.6% 0.152 308.5);
Tailwind
colors: {
  custom: {
    50: '#bd94da',
    500: '#9f68ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f68ca;
$custom-light: #bd94da;
$custom-dark: #000000;
JSON
{
  "hex": "#9f68ca",
  "rgb": {
    "r": 159,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 273.673,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.15226,
    "h": 308.5
  },
  "luminance": 0.21536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F68CA

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

Preview Lab → · Contrast checker → · Palette generator →

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