#9B57F2#9B57F2

#9B57F2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.222 H 300.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9B57F2
RGBrgb(155, 87, 242)
HSLhsl(266, 86%, 65%)
HSVhsv(266, 64%, 95%)
CMYKcmyk(36%, 64%, 0%, 5.1%)
CIE-LABlab(52.06, 57.89, -67.64)
CIE-LCHlch(52.06, 89.03, 310.56°)
OKLaboklab(61.19% 0.1112 -0.1925)
OKLCHoklch(61.19% 0.222 300)
XYZxyz(32.9488, 20.1955, 86.1494)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57F2 #AEF257
analogous
#5761F2 #9B57F2 #E957F2
triadic
#9B57F2 #F29B57 #57F29B
tetradic
#9B57F2 #F25761 #AEF257 #57F2E9
square
#9B57F2 #F25761 #AEF257 #57F2E9
split-complementary
#9B57F2 #F2E957 #61F257
monochromatic
#5C0FC0 #791EEE #9B57F2 #BD90F6 #DFC9FB

Accessibility & contrast

On white

4.17
#9B57F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9B57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57F2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57F2#FFFFFF#000000##000000
##9B57F21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#887A9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b57f2;
/* rgb */ color: rgb(155, 87, 242);
/* oklch */ color: oklch(61.2% 0.222 300.0);
Tailwind
colors: {
  custom: {
    50: '#be8af7',
    500: '#9b57f2',
    950: '#000000',
  },
}
SCSS
$custom: #9b57f2;
$custom-light: #be8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57f2",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 266.323,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.22226,
    "h": 300
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

primary
#9B57F2
secondary
#D6EDB8
accent
#E20380
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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