#9F2CDB#9F2CDB

#9F2CDB is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.5% C 0.248 H 310.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9F2CDB
RGBrgb(159, 44, 219)
HSLhsl(279, 71%, 52%)
HSVhsv(279, 80%, 86%)
CMYKcmyk(27.4%, 79.9%, 0%, 14.1%)
CIE-LABlab(44.64, 71.23, -66.64)
CIE-LCHlch(44.64, 97.55, 316.91°)
OKLaboklab(55.52% 0.16 -0.1892)
OKLCHoklch(55.52% 0.248 310.2)
XYZxyz(27.9824, 14.2874, 68.2878)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CDB #68DB2C
analogous
#482CDB #9F2CDB #DB2CBF
triadic
#9F2CDB #DB9F2C #2CDB9F
tetradic
#9F2CDB #DB482C #68DB2C #2CBFDB
square
#9F2CDB #DB482C #68DB2C #2CBFDB
split-complementary
#9F2CDB #BFDB2C #2CDB48
monochromatic
#561478 #7B1DAC #9F2CDB #B760E4 #CF95ED

Accessibility & contrast

On white

5.44
#9F2CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9F2CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CDB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CDB#FFFFFF#000000##FFFFFF
##9F2CDB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#965985
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f2cdb;
/* rgb */ color: rgb(159, 44, 219);
/* oklch */ color: oklch(55.5% 0.248 310.2);
Tailwind
colors: {
  custom: {
    50: '#c174e7',
    500: '#9f2cdb',
    950: '#000000',
  },
}
SCSS
$custom: #9f2cdb;
$custom-light: #c174e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2cdb",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 219
  },
  "hsl": {
    "h": 279.429,
    "s": 70.85,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55516,
    "c": 0.24776,
    "h": 310.2
  },
  "luminance": 0.14287
}

Semantic roles & 50–950 ramp

primary
#9F2CDB
secondary
#A5D88B
accent
#EE3A78
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9F2CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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