#9F48CE#9F48CE

#9F48CE is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.205 H 311.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9F48CE
RGBrgb(159, 72, 206)
HSLhsl(279, 58%, 55%)
HSVhsv(279, 65%, 81%)
CMYKcmyk(22.8%, 65%, 0%, 19.2%)
CIE-LABlab(47.58, 57.68, -54.44)
CIE-LCHlch(47.58, 79.32, 316.65°)
OKLaboklab(57.32% 0.1358 -0.1535)
OKLCHoklch(57.32% 0.205 311.5)
XYZxyz(27.7540, 16.4626, 60.0961)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48CE #77CE48
analogous
#5C48CE #9F48CE #CE48BA
triadic
#9F48CE #CE9F48 #48CE9F
tetradic
#9F48CE #CE5C48 #77CE48 #48BACE
square
#9F48CE #CE5C48 #77CE48 #48BACE
split-complementary
#9F48CE #BACE48 #48CE5C
monochromatic
#5B217B #7F2EAB #9F48CE #B878DB #D2A9E8

Accessibility & contrast

On white

4.89
#9F48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9F48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48CE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48CE#FFFFFF#000000##FFFFFF
##9F48CE1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#3A73CB
Tritanopia (blue-blind)
#996385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f48ce;
/* rgb */ color: rgb(159, 72, 206);
/* oklch */ color: oklch(57.3% 0.205 311.5);
Tailwind
colors: {
  custom: {
    50: '#bf81de',
    500: '#9f48ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f48ce;
$custom-light: #bf81de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48ce",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 278.955,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.20493,
    "h": 311.5
  },
  "luminance": 0.16462
}

Semantic roles & 50–950 ramp

primary
#9F48CE
secondary
#B0D59D
accent
#E1477D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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