#9957E7#9957E7

#9957E7 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.210 H 301.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9957E7
RGBrgb(153, 87, 231)
HSLhsl(268, 75%, 62%)
HSVhsv(268, 62%, 91%)
CMYKcmyk(33.8%, 62.3%, 0%, 9.4%)
CIE-LABlab(51.10, 54.81, -63.02)
CIE-LCHlch(51.10, 83.52, 311.01°)
OKLaboklab(60.22% 0.1094 -0.1789)
OKLCHoklch(60.22% 0.21 301.4)
XYZxyz(30.9654, 19.3581, 77.6909)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9957E7 #A5E757
analogous
#575DE7 #9957E7 #E157E7
triadic
#9957E7 #E79957 #57E799
tetradic
#9957E7 #E7575D #A5E757 #57E7E1
square
#9957E7 #E7575D #A5E757 #57E7E1
split-complementary
#9957E7 #E7E157 #5DE757
monochromatic
#5C18AB #7821DF #9957E7 #BA8DEF #DAC2F6

Accessibility & contrast

On white

4.31
#9957E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9957E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9957E7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9957E7#FFFFFF#000000##000000
##9957E71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#2379E4
Tritanopia (blue-blind)
#897697
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9957e7;
/* rgb */ color: rgb(153, 87, 231);
/* oklch */ color: oklch(60.2% 0.210 301.4);
Tailwind
colors: {
  custom: {
    50: '#bc8aef',
    500: '#9957e7',
    950: '#000000',
  },
}
SCSS
$custom: #9957e7;
$custom-light: #bc8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9957e7",
  "rgb": {
    "r": 153,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 267.5,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60215,
    "c": 0.20975,
    "h": 301.4
  },
  "luminance": 0.19358
}

Semantic roles & 50–950 ramp

primary
#9957E7
secondary
#CFE7B3
accent
#D70E7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9957E7

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

Preview Lab → · Contrast checker → · Palette generator →

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