#9A67CB#9A67CB

#9A67CB is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.0% C 0.154 H 305.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9A67CB
RGBrgb(154, 103, 203)
HSLhsl(271, 49%, 60%)
HSVhsv(271, 49%, 80%)
CMYKcmyk(24.1%, 49.3%, 0%, 20.4%)
CIE-LABlab(52.82, 39.79, -44.39)
CIE-LCHlch(52.82, 59.61, 311.87°)
OKLaboklab(60.97% 0.09 -0.1244)
OKLCHoklch(60.97% 0.154 305.9)
XYZxyz(28.9539, 20.8825, 58.9937)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A67CB #98CB67
analogous
#6867CB #9A67CB #CB67CA
triadic
#9A67CB #CB9A67 #67CB9A
tetradic
#9A67CB #CB6867 #98CB67 #67CACB
square
#9A67CB #CB6867 #98CB67 #67CACB
split-complementary
#9A67CB #CACB67 #67CB68
monochromatic
#5D2F89 #7C3EB6 #9A67CB #B895DB #D7C2EA

Accessibility & contrast

On white

4.06
#9A67CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9A67CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A67CB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A67CB#FFFFFF#000000##000000
##9A67CB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCE
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#927890
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a67cb;
/* rgb */ color: rgb(154, 103, 203);
/* oklch */ color: oklch(61.0% 0.154 305.9);
Tailwind
colors: {
  custom: {
    50: '#ba94db',
    500: '#9a67cb',
    950: '#000000',
  },
}
SCSS
$custom: #9a67cb;
$custom-light: #ba94db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a67cb",
  "rgb": {
    "r": 154,
    "g": 103,
    "b": 203
  },
  "hsl": {
    "h": 270.6,
    "s": 49.02,
    "l": 60
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.15353,
    "h": 305.9
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#9A67CB
secondary
#C7DAB4
accent
#D94F93
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9A67CB

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

Preview Lab → · Contrast checker → · Palette generator →

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