#9F48DF#9F48DF

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

Color values

HEX#9F48DF
RGBrgb(159, 72, 223)
HSLhsl(275, 70%, 58%)
HSVhsv(275, 68%, 87%)
CMYKcmyk(28.7%, 67.7%, 0%, 12.5%)
CIE-LABlab(48.68, 61.39, -62.38)
CIE-LCHlch(48.68, 87.52, 314.54°)
OKLaboklab(58.46% 0.1343 -0.1768)
OKLCHoklch(58.46% 0.222 307.2)
XYZxyz(29.9319, 17.3337, 71.5666)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48DF #88DF48
analogous
#5448DF #9F48DF #DF48D3
triadic
#9F48DF #DF9F48 #48DF9F
tetradic
#9F48DF #DF5448 #88DF48 #48D3DF
square
#9F48DF #DF5448 #88DF48 #48D3DF
split-complementary
#9F48DF #D3DF48 #48DF54
monochromatic
#601A93 #8123C7 #9F48DF #BA7CE8 #D6B0F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F48DF#FFFFFF#000000##FFFFFF
##9F48DF1.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)
#0071E3
Deuteranopia (green-blind)
#2174DC
Tritanopia (blue-blind)
#95698E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f48df;
/* rgb */ color: rgb(159, 72, 223);
/* oklch */ color: oklch(58.5% 0.222 307.2);
Tailwind
colors: {
  custom: {
    50: '#c081ea',
    500: '#9f48df',
    950: '#000000',
  },
}
SCSS
$custom: #9f48df;
$custom-light: #c081ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48df",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 274.57,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58458,
    "c": 0.22203,
    "h": 307.2
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#9F48DF
secondary
#BDE0A3
accent
#ED3B86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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