#9757E3#9757E3

#9757E3 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.205 H 301.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9757E3
RGBrgb(151, 87, 227)
HSLhsl(267, 71%, 62%)
HSVhsv(267, 62%, 89%)
CMYKcmyk(33.5%, 61.7%, 0%, 11%)
CIE-LABlab(50.62, 53.41, -61.56)
CIE-LCHlch(50.62, 81.50, 310.94°)
OKLaboklab(59.73% 0.1071 -0.1747)
OKLCHoklch(59.73% 0.205 301.5)
XYZxyz(30.0325, 18.9416, 74.7320)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757E3 #A3E357
analogous
#575DE3 #9757E3 #DD57E3
triadic
#9757E3 #E39757 #57E397
tetradic
#9757E3 #E3575D #A3E357 #57E3DD
square
#9757E3 #E3575D #A3E357 #57E3DD
split-complementary
#9757E3 #E3DD57 #5DE357
monochromatic
#5A1BA4 #7724D9 #9757E3 #B78BEC #D8C0F4

Accessibility & contrast

On white

4.39
#9757E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9757E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757E3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757E3#FFFFFF#000000##000000
##9757E31.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#2778E0
Tritanopia (blue-blind)
#877595
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9757e3;
/* rgb */ color: rgb(151, 87, 227);
/* oklch */ color: oklch(59.7% 0.205 301.5);
Tailwind
colors: {
  custom: {
    50: '#ba8aed',
    500: '#9757e3',
    950: '#000000',
  },
}
SCSS
$custom: #9757e3;
$custom-light: #ba8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9757e3",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 267.429,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59731,
    "c": 0.2049,
    "h": 301.5
  },
  "luminance": 0.18942
}

Semantic roles & 50–950 ramp

primary
#9757E3
secondary
#CDE5B1
accent
#D3127B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9757E3

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

Preview Lab → · Contrast checker → · Palette generator →

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