#9762EA#9762EA

#9762EA is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.8% C 0.198 H 298.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9762EA
RGBrgb(151, 98, 234)
HSLhsl(263, 76%, 65%)
HSVhsv(263, 58%, 92%)
CMYKcmyk(35.5%, 58.1%, 0%, 8.2%)
CIE-LABlab(53.23, 49.36, -61.30)
CIE-LCHlch(53.23, 78.70, 308.84°)
OKLaboklab(61.77% 0.094 -0.174)
OKLCHoklch(61.77% 0.198 298.4)
XYZxyz(31.9778, 21.2548, 80.2438)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9762EA #B5EA62
analogous
#6271EA #9762EA #DB62EA
triadic
#9762EA #EA9762 #62EA97
tetradic
#9762EA #EA6271 #B5EA62 #62EADB
square
#9762EA #EA6271 #B5EA62 #62EADB
split-complementary
#9762EA #EADB62 #71EA62
monochromatic
#5719B9 #732CE3 #9762EA #BB98F1 #DFCEF8

Accessibility & contrast

On white

4.00
#9762EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9762EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9762EA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9762EA#FFFFFF#000000##000000
##9762EA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#147FEE
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#847F9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9762ea;
/* rgb */ color: rgb(151, 98, 234);
/* oklch */ color: oklch(61.8% 0.198 298.4);
Tailwind
colors: {
  custom: {
    50: '#ba91f1',
    500: '#9762ea',
    950: '#000000',
  },
}
SCSS
$custom: #9762ea;
$custom-light: #ba91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9762ea",
  "rgb": {
    "r": 151,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 263.382,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61773,
    "c": 0.19774,
    "h": 298.4
  },
  "luminance": 0.21255
}

Semantic roles & 50–950 ramp

primary
#9762EA
secondary
#D9EBBD
accent
#D90D89
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9762EA

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

Preview Lab → · Contrast checker → · Palette generator →

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