#9757E4#9757E4

#9757E4 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.206 H 301.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9757E4
RGBrgb(151, 87, 228)
HSLhsl(267, 72%, 62%)
HSVhsv(267, 62%, 89%)
CMYKcmyk(33.8%, 61.8%, 0%, 10.6%)
CIE-LABlab(50.68, 53.65, -62.02)
CIE-LCHlch(50.68, 82.00, 310.86°)
OKLaboklab(59.8% 0.107 -0.1761)
OKLCHoklch(59.8% 0.206 301.3)
XYZxyz(30.1710, 18.9970, 75.4610)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757E4 #A4E457
analogous
#575EE4 #9757E4 #DE57E4
triadic
#9757E4 #E49757 #57E497
tetradic
#9757E4 #E4575E #A4E457 #57E4DE
square
#9757E4 #E4575E #A4E457 #57E4DE
split-complementary
#9757E4 #E4DE57 #5EE457
monochromatic
#5A1BA6 #7623DB #9757E4 #B88CEC #D8C0F5

Accessibility & contrast

On white

4.38
#9757E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9757E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757E4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757E4#FFFFFF#000000##000000
##9757E41.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#2578E1
Tritanopia (blue-blind)
#877596
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9757e4;
/* rgb */ color: rgb(151, 87, 228);
/* oklch */ color: oklch(59.8% 0.206 301.3);
Tailwind
colors: {
  custom: {
    50: '#ba8aed',
    500: '#9757e4',
    950: '#000000',
  },
}
SCSS
$custom: #9757e4;
$custom-light: #ba8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9757e4",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 267.234,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59798,
    "c": 0.20602,
    "h": 301.3
  },
  "luminance": 0.18997
}

Semantic roles & 50–950 ramp

primary
#9757E4
secondary
#CEE6B1
accent
#D4117C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9757E4

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

Preview Lab → · Contrast checker → · Palette generator →

#9757E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva