#9957F4#9957F4

#9957F4 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.224 H 298.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9957F4
RGBrgb(153, 87, 244)
HSLhsl(265, 88%, 65%)
HSVhsv(265, 64%, 96%)
CMYKcmyk(37.3%, 64.3%, 0%, 4.3%)
CIE-LABlab(51.97, 57.97, -68.91)
CIE-LCHlch(51.97, 90.05, 310.08°)
OKLaboklab(61.12% 0.1084 -0.1962)
OKLCHoklch(61.12% 0.224 298.9)
XYZxyz(32.8701, 20.1200, 87.7222)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9957F4 #B2F457
analogous
#5764F4 #9957F4 #E757F4
triadic
#9957F4 #F49957 #57F499
tetradic
#9957F4 #F45764 #B2F457 #57F4E7
square
#9957F4 #F45764 #B2F457 #57F4E7
split-complementary
#9957F4 #F4E757 #64F457
monochromatic
#5A0DC4 #761EF0 #9957F4 #BC90F8 #DFCAFC

Accessibility & contrast

On white

4.18
#9957F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9957F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9957F4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9957F4#FFFFFF#000000##000000
##9957F41.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#847B9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9957f4;
/* rgb */ color: rgb(153, 87, 244);
/* oklch */ color: oklch(61.1% 0.224 298.9);
Tailwind
colors: {
  custom: {
    50: '#bd8af9',
    500: '#9957f4',
    950: '#000000',
  },
}
SCSS
$custom: #9957f4;
$custom-light: #bd8af9;
$custom-dark: #000000;
JSON
{
  "hex": "#9957f4",
  "rgb": {
    "r": 153,
    "g": 87,
    "b": 244
  },
  "hsl": {
    "h": 265.223,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61119,
    "c": 0.22417,
    "h": 298.9
  },
  "luminance": 0.2012
}

Semantic roles & 50–950 ramp

primary
#9957F4
secondary
#D8EEB9
accent
#E40185
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9957F4

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

Preview Lab → · Contrast checker → · Palette generator →

#9957F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva