#9F4CCB#9F4CCB

#9F4CCB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.196 H 311.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9F4CCB
RGBrgb(159, 76, 203)
HSLhsl(279, 55%, 55%)
HSVhsv(279, 63%, 80%)
CMYKcmyk(21.7%, 62.6%, 0%, 20.4%)
CIE-LABlab(48.07, 55.16, -51.92)
CIE-LCHlch(48.07, 75.75, 316.74°)
OKLaboklab(57.62% 0.1313 -0.1461)
OKLCHoklch(57.62% 0.196 311.9)
XYZxyz(27.6601, 16.8523, 58.2841)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CCB #78CB4C
analogous
#604CCB #9F4CCB #CB4CB7
triadic
#9F4CCB #CB9F4C #4CCB9F
tetradic
#9F4CCB #CB604C #78CB4C #4CB7CB
square
#9F4CCB #CB604C #78CB4C #4CB7CB
split-complementary
#9F4CCB #B7CB4C #4CCB60
monochromatic
#5C2379 #7F31A9 #9F4CCB #B87BD9 #D2ABE7

Accessibility & contrast

On white

4.81
#9F4CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9F4CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CCB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CCB#FFFFFF#000000##FFFFFF
##9F4CCB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136ECF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#9A6485
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f4ccb;
/* rgb */ color: rgb(159, 76, 203);
/* oklch */ color: oklch(57.6% 0.196 311.9);
Tailwind
colors: {
  custom: {
    50: '#bf83db',
    500: '#9f4ccb',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ccb;
$custom-light: #bf83db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ccb",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 279.213,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.19641,
    "h": 311.9
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

primary
#9F4CCB
secondary
#B1D49F
accent
#DE497D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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