#9F43EA#9F43EA

#9F43EA is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.7% C 0.239 H 305.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9F43EA
RGBrgb(159, 67, 234)
HSLhsl(273, 80%, 59%)
HSVhsv(273, 71%, 92%)
CMYKcmyk(32.1%, 71.4%, 0%, 8.2%)
CIE-LABlab(48.67, 66.00, -68.62)
CIE-LCHlch(48.67, 95.21, 313.88°)
OKLaboklab(58.69% 0.1377 -0.1951)
OKLCHoklch(58.69% 0.239 305.2)
XYZxyz(31.1532, 17.3260, 79.5290)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F43EA #8EEA43
analogous
#4C43EA #9F43EA #EA43E1
triadic
#9F43EA #EA9F43 #43EA9F
tetradic
#9F43EA #EA4C43 #8EEA43 #43E1EA
square
#9F43EA #EA4C43 #8EEA43 #43E1EA
split-complementary
#9F43EA #E1EA43 #43EA4C
monochromatic
#6112A1 #8218D8 #9F43EA #BB7AF0 #D7B1F6

Accessibility & contrast

On white

4.70
#9F43EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9F43EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F43EA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F43EA#FFFFFF#000000##FFFFFF
##9F43EA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#916B93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f43ea;
/* rgb */ color: rgb(159, 67, 234);
/* oklch */ color: oklch(58.7% 0.239 305.2);
Tailwind
colors: {
  custom: {
    50: '#c17ff2',
    500: '#9f43ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f43ea;
$custom-light: #c17ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f43ea",
  "rgb": {
    "r": 159,
    "g": 67,
    "b": 234
  },
  "hsl": {
    "h": 273.054,
    "s": 79.904,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58692,
    "c": 0.23883,
    "h": 305.2
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#9F43EA
secondary
#C1E5A4
accent
#F6318A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F43EA

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

Preview Lab → · Contrast checker → · Palette generator →

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