#9761EA#9761EA

#9761EA is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.6% C 0.199 H 298.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9761EA
RGBrgb(151, 97, 234)
HSLhsl(264, 77%, 65%)
HSVhsv(264, 59%, 92%)
CMYKcmyk(35.5%, 58.5%, 0%, 8.2%)
CIE-LABlab(53.02, 49.90, -61.62)
CIE-LCHlch(53.02, 79.29, 309.00°)
OKLaboklab(61.63% 0.0952 -0.1749)
OKLCHoklch(61.63% 0.199 298.6)
XYZxyz(31.8848, 21.0688, 80.2128)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9761EA #B4EA61
analogous
#616FEA #9761EA #DC61EA
triadic
#9761EA #EA9761 #61EA97
tetradic
#9761EA #EA616F #B4EA61 #61EADC
square
#9761EA #EA616F #B4EA61 #61EADC
split-complementary
#9761EA #EADC61 #6FEA61
monochromatic
#5718B8 #732BE3 #9761EA #BB97F1 #DECDF8

Accessibility & contrast

On white

4.03
#9761EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9761EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9761EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9761EA#FFFFFF#000000##000000
##9761EA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7FEE
Deuteranopia (green-blind)
#2F7DE7
Tritanopia (blue-blind)
#847E9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9761ea;
/* rgb */ color: rgb(151, 97, 234);
/* oklch */ color: oklch(61.6% 0.199 298.6);
Tailwind
colors: {
  custom: {
    50: '#ba90f1',
    500: '#9761ea',
    950: '#000000',
  },
}
SCSS
$custom: #9761ea;
$custom-light: #ba90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9761ea",
  "rgb": {
    "r": 151,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 263.65,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61625,
    "c": 0.19914,
    "h": 298.6
  },
  "luminance": 0.21069
}

Semantic roles & 50–950 ramp

primary
#9761EA
secondary
#D8EBBC
accent
#D90D88
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9761EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9761EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva