#9F48CF#9F48CF

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

Color values

HEX#9F48CF
RGBrgb(159, 72, 207)
HSLhsl(279, 58%, 55%)
HSVhsv(279, 65%, 81%)
CMYKcmyk(23.2%, 65.2%, 0%, 18.8%)
CIE-LABlab(47.64, 57.90, -54.92)
CIE-LCHlch(47.64, 79.80, 316.51°)
OKLaboklab(57.38% 0.1357 -0.1549)
OKLCHoklch(57.38% 0.206 311.2)
XYZxyz(27.8758, 16.5113, 60.7379)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48CF #78CF48
analogous
#5C48CF #9F48CF #CF48BB
triadic
#9F48CF #CF9F48 #48CF9F
tetradic
#9F48CF #CF5C48 #78CF48 #48BBCF
square
#9F48CF #CF5C48 #78CF48 #48BBCF
split-complementary
#9F48CF #BBCF48 #48CF5C
monochromatic
#5C217C #7F2DAD #9F48CF #B878DC #D2A9E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F48CF#FFFFFF#000000##FFFFFF
##9F48CF1.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)
#006DD3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#996385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f48cf;
/* rgb */ color: rgb(159, 72, 207);
/* oklch */ color: oklch(57.4% 0.206 311.2);
Tailwind
colors: {
  custom: {
    50: '#bf81de',
    500: '#9f48cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f48cf;
$custom-light: #bf81de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48cf",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 278.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57382,
    "c": 0.20594,
    "h": 311.2
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#9F48CF
secondary
#B1D69D
accent
#E2467D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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