#9757EC#9757EC

#9757EC is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.215 H 299.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9757EC
RGBrgb(151, 87, 236)
HSLhsl(266, 80%, 63%)
HSVhsv(266, 63%, 93%)
CMYKcmyk(36%, 63.1%, 0%, 7.5%)
CIE-LABlab(51.21, 55.60, -65.67)
CIE-LCHlch(51.21, 86.05, 310.25°)
OKLaboklab(60.35% 0.1065 -0.1868)
OKLCHoklch(60.35% 0.215 299.7)
XYZxyz(31.3073, 19.4515, 81.4457)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757EC #ACEC57
analogous
#5761EC #9757EC #E257EC
triadic
#9757EC #EC9757 #57EC97
tetradic
#9757EC #EC5761 #ACEC57 #57ECE2
square
#9757EC #EC5761 #ACEC57 #57ECE2
split-complementary
#9757EC #ECE257 #61EC57
monochromatic
#5914B4 #7520E6 #9757EC #B98EF2 #DBC5F8

Accessibility & contrast

On white

4.29
#9757EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9757EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757EC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757EC#FFFFFF#000000##000000
##9757EC1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0E79E9
Tritanopia (blue-blind)
#84789A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9757ec;
/* rgb */ color: rgb(151, 87, 236);
/* oklch */ color: oklch(60.3% 0.215 299.7);
Tailwind
colors: {
  custom: {
    50: '#bb8af3',
    500: '#9757ec',
    950: '#000000',
  },
}
SCSS
$custom: #9757ec;
$custom-light: #bb8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#9757ec",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 265.772,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60348,
    "c": 0.215,
    "h": 299.7
  },
  "luminance": 0.19452
}

Semantic roles & 50–950 ramp

primary
#9757EC
secondary
#D3EAB5
accent
#DC0A82
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9757EC

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

Preview Lab → · Contrast checker → · Palette generator →

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