#9F57FA#9F57FA

#9F57FA is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.2% C 0.232 H 299.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9F57FA
RGBrgb(159, 87, 250)
HSLhsl(267, 94%, 66%)
HSVhsv(267, 65%, 98%)
CMYKcmyk(36.4%, 65.2%, 0%, 2%)
CIE-LABlab(53.05, 60.62, -70.48)
CIE-LCHlch(53.05, 92.96, 310.70°)
OKLaboklab(62.17% 0.1156 -0.2007)
OKLCHoklch(62.17% 0.232 299.9)
XYZxyz(34.9573, 21.0891, 92.6528)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57FA #B2FA57
analogous
#5760FA #9F57FA #F057FA
triadic
#9F57FA #FA9F57 #57FA9F
tetradic
#9F57FA #FA5760 #B2FA57 #57FAF0
square
#9F57FA #FA5760 #B2FA57 #57FAF0
split-complementary
#9F57FA #FAF057 #60FA57
monochromatic
#6006D0 #7D1CF8 #9F57FA #C192FC #E3CEFE

Accessibility & contrast

On white

4.02
#9F57FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9F57FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57FA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57FA#FFFFFF#000000##000000
##9F57FA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007DF7
Tritanopia (blue-blind)
#8B7CA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f57fa;
/* rgb */ color: rgb(159, 87, 250);
/* oklch */ color: oklch(62.2% 0.232 299.9);
Tailwind
colors: {
  custom: {
    50: '#c18bfd',
    500: '#9f57fa',
    950: '#000000',
  },
}
SCSS
$custom: #9f57fa;
$custom-light: #c18bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57fa",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 266.503,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62171,
    "c": 0.23158,
    "h": 299.9
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#9F57FA
secondary
#DAF1BC
accent
#E60080
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9F57FA

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

Preview Lab → · Contrast checker → · Palette generator →

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