#9F43DB#9F43DB

#9F43DB is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.6% C 0.224 H 308.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9F43DB
RGBrgb(159, 67, 219)
HSLhsl(276, 68%, 56%)
HSVhsv(276, 69%, 86%)
CMYKcmyk(27.4%, 69.4%, 0%, 14.1%)
CIE-LABlab(47.62, 62.71, -61.81)
CIE-LCHlch(47.62, 88.05, 315.42°)
OKLaboklab(57.62% 0.14 -0.1751)
OKLCHoklch(57.62% 0.224 308.6)
XYZxyz(29.0888, 16.5002, 68.6566)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F43DB #7FDB43
analogous
#5343DB #9F43DB #DB43CB
triadic
#9F43DB #DB9F43 #43DB9F
tetradic
#9F43DB #DB5343 #7FDB43 #43CBDB
square
#9F43DB #DB5343 #7FDB43 #43CBDB
split-complementary
#9F43DB #CBDB43 #43DB53
monochromatic
#5D1A89 #8024BD #9F43DB #B976E5 #D3AAEF

Accessibility & contrast

On white

4.88
#9F43DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9F43DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F43DB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F43DB#FFFFFF#000000##FFFFFF
##9F43DB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#2072D8
Tritanopia (blue-blind)
#96658A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f43db;
/* rgb */ color: rgb(159, 67, 219);
/* oklch */ color: oklch(57.6% 0.224 308.6);
Tailwind
colors: {
  custom: {
    50: '#c07ee7',
    500: '#9f43db',
    950: '#000000',
  },
}
SCSS
$custom: #9f43db;
$custom-light: #c07ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f43db",
  "rgb": {
    "r": 159,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 276.316,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.22415,
    "h": 308.6
  },
  "luminance": 0.165
}

Semantic roles & 50–950 ramp

primary
#9F43DB
secondary
#B6DC9E
accent
#EB3D82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F43DB

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

Preview Lab → · Contrast checker → · Palette generator →

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