#9A68DC#9A68DC

#9A68DC is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.1% C 0.173 H 301.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9A68DC
RGBrgb(154, 104, 220)
HSLhsl(266, 62%, 64%)
HSVhsv(266, 53%, 86%)
CMYKcmyk(30%, 52.7%, 0%, 13.7%)
CIE-LABlab(53.96, 43.33, -52.23)
CIE-LCHlch(53.96, 67.86, 309.68°)
OKLaboklab(62.12% 0.0901 -0.1473)
OKLCHoklch(62.12% 0.173 301.5)
XYZxyz(31.1920, 21.9379, 70.2874)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A68DC #AADC68
analogous
#6870DC #9A68DC #D468DC
triadic
#9A68DC #DC9A68 #68DC9A
tetradic
#9A68DC #DC6870 #AADC68 #68DCD4
square
#9A68DC #DC6870 #AADC68 #68DCD4
split-complementary
#9A68DC #DCD468 #70DC68
monochromatic
#5C26A4 #7936D0 #9A68DC #BB9AE8 #DCCBF3

Accessibility & contrast

On white

3.90
#9A68DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9A68DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A68DC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A68DC#FFFFFF#000000##000000
##9A68DC1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#4D80D9
Tritanopia (blue-blind)
#8D7E98
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9a68dc;
/* rgb */ color: rgb(154, 104, 220);
/* oklch */ color: oklch(62.1% 0.173 301.5);
Tailwind
colors: {
  custom: {
    50: '#bb94e7',
    500: '#9a68dc',
    950: '#000000',
  },
}
SCSS
$custom: #9a68dc;
$custom-light: #bb94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a68dc",
  "rgb": {
    "r": 154,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 265.862,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62118,
    "c": 0.17265,
    "h": 301.5
  },
  "luminance": 0.21938
}

Semantic roles & 50–950 ramp

primary
#9A68DC
secondary
#D3E4BB
accent
#CA1B7F
background
#FBF9FE
surface
#F7F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9A68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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