#9A67DC#9A67DC

#9A67DC is a mid, vivid violet. Relative luminance 0.217; OKLCH L 62.0% C 0.174 H 301.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9A67DC
RGBrgb(154, 103, 220)
HSLhsl(266, 63%, 63%)
HSVhsv(266, 53%, 86%)
CMYKcmyk(30%, 53.2%, 0%, 13.7%)
CIE-LABlab(53.75, 43.88, -52.57)
CIE-LCHlch(53.75, 68.47, 309.85°)
OKLaboklab(61.96% 0.0914 -0.1483)
OKLCHoklch(61.96% 0.174 301.6)
XYZxyz(31.0920, 21.7377, 70.2540)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A67DC #A9DC67
analogous
#676EDC #9A67DC #D567DC
triadic
#9A67DC #DC9A67 #67DC9A
tetradic
#9A67DC #DC676E #A9DC67 #67DCD5
square
#9A67DC #DC676E #A9DC67 #67DCD5
split-complementary
#9A67DC #DCD567 #6EDC67
monochromatic
#5C26A3 #7935D1 #9A67DC #BB99E7 #DCCAF3

Accessibility & contrast

On white

3.93
#9A67DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9A67DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A67DC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A67DC#FFFFFF#000000##000000
##9A67DC1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#8D7D98
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9a67dc;
/* rgb */ color: rgb(154, 103, 220);
/* oklch */ color: oklch(62.0% 0.174 301.6);
Tailwind
colors: {
  custom: {
    50: '#bb94e7',
    500: '#9a67dc',
    950: '#000000',
  },
}
SCSS
$custom: #9a67dc;
$custom-light: #bb94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a67dc",
  "rgb": {
    "r": 154,
    "g": 103,
    "b": 220
  },
  "hsl": {
    "h": 266.154,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.17417,
    "h": 301.6
  },
  "luminance": 0.21738
}

Semantic roles & 50–950 ramp

primary
#9A67DC
secondary
#D2E4BB
accent
#CA1B7E
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9A67DC

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

Preview Lab → · Contrast checker → · Palette generator →

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