#9F72F2#9F72F2

#9F72F2 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.185 H 297.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9F72F2
RGBrgb(159, 114, 242)
HSLhsl(261, 83%, 70%)
HSVhsv(261, 53%, 95%)
CMYKcmyk(34.3%, 52.9%, 0%, 5.1%)
CIE-LABlab(57.86, 44.52, -58.28)
CIE-LCHlch(57.86, 73.34, 307.38°)
OKLaboklab(65.53% 0.0849 -0.1649)
OKLCHoklch(65.53% 0.185 297.2)
XYZxyz(36.3384, 25.8159, 87.0556)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F72F2 #C5F272
analogous
#7285F2 #9F72F2 #DF72F2
triadic
#9F72F2 #F29F72 #72F29F
tetradic
#9F72F2 #F27285 #C5F272 #72F2DF
square
#9F72F2 #F27285 #C5F272 #72F2DF
split-complementary
#9F72F2 #F2DF72 #85F272
monochromatic
#5814D6 #793AED #9F72F2 #C5AAF7 #EBE2FC

Accessibility & contrast

On white

3.41
#9F72F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9F72F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F72F2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F72F2#FFFFFF#000000##000000
##9F72F21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8BF6
Deuteranopia (green-blind)
#4B8AEF
Tritanopia (blue-blind)
#8C8CA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f72f2;
/* rgb */ color: rgb(159, 114, 242);
/* oklch */ color: oklch(65.5% 0.185 297.2);
Tailwind
colors: {
  custom: {
    50: '#bf9cf7',
    500: '#9f72f2',
    950: '#000000',
  },
}
SCSS
$custom: #9f72f2;
$custom-light: #bf9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f72f2",
  "rgb": {
    "r": 159,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 261.094,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65526,
    "c": 0.18544,
    "h": 297.2
  },
  "luminance": 0.25816
}

Semantic roles & 50–950 ramp

primary
#9F72F2
secondary
#E5F2CE
accent
#E00693
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F72F2

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

Preview Lab → · Contrast checker → · Palette generator →

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