#9F4CCE#9F4CCE

#9F4CCE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.8% C 0.199 H 311.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9F4CCE
RGBrgb(159, 76, 206)
HSLhsl(278, 57%, 55%)
HSVhsv(278, 63%, 81%)
CMYKcmyk(22.8%, 63.1%, 0%, 19.2%)
CIE-LABlab(48.26, 55.81, -53.35)
CIE-LCHlch(48.26, 77.21, 316.29°)
OKLaboklab(57.81% 0.1312 -0.1503)
OKLCHoklch(57.81% 0.199 311.1)
XYZxyz(28.0210, 16.9967, 60.1851)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CCE #7BCE4C
analogous
#5E4CCE #9F4CCE #CE4CBC
triadic
#9F4CCE #CE9F4C #4CCE9F
tetradic
#9F4CCE #CE5E4C #7BCE4C #4CBCCE
square
#9F4CCE #CE5E4C #7BCE4C #4CBCCE
split-complementary
#9F4CCE #BCCE4C #4CCE5E
monochromatic
#5C227D #802FAD #9F4CCE #B97CDB #D3ACE8

Accessibility & contrast

On white

4.77
#9F4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9F4CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CCE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CCE#FFFFFF#000000##FFFFFF
##9F4CCE1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086FD2
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#996586
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f4cce;
/* rgb */ color: rgb(159, 76, 206);
/* oklch */ color: oklch(57.8% 0.199 311.1);
Tailwind
colors: {
  custom: {
    50: '#bf83de',
    500: '#9f4cce',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cce;
$custom-light: #bf83de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cce",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 278.308,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57807,
    "c": 0.19949,
    "h": 311.1
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#9F4CCE
secondary
#B3D6A0
accent
#E0487F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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