#9762E8#9762E8

#9762E8 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.6% C 0.195 H 298.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9762E8
RGBrgb(151, 98, 232)
HSLhsl(264, 74%, 65%)
HSVhsv(264, 58%, 91%)
CMYKcmyk(34.9%, 57.8%, 0%, 9%)
CIE-LABlab(53.10, 48.86, -60.37)
CIE-LCHlch(53.10, 77.67, 308.98°)
OKLaboklab(61.64% 0.094 -0.1713)
OKLCHoklch(61.64% 0.195 298.8)
XYZxyz(31.6921, 21.1405, 78.7391)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9762E8 #B3E862
analogous
#6270E8 #9762E8 #DA62E8
triadic
#9762E8 #E89762 #62E897
tetradic
#9762E8 #E86270 #B3E862 #62E8DA
square
#9762E8 #E86270 #B3E862 #62E8DA
split-complementary
#9762E8 #E8DA62 #70E862
monochromatic
#581BB5 #742DE0 #9762E8 #BA97F0 #DECDF8

Accessibility & contrast

On white

4.02
#9762E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9762E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9762E8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9762E8#FFFFFF#000000##000000
##9762E81.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7FEC
Deuteranopia (green-blind)
#347EE5
Tritanopia (blue-blind)
#857E9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9762e8;
/* rgb */ color: rgb(151, 98, 232);
/* oklch */ color: oklch(61.6% 0.195 298.8);
Tailwind
colors: {
  custom: {
    50: '#ba91f0',
    500: '#9762e8',
    950: '#000000',
  },
}
SCSS
$custom: #9762e8;
$custom-light: #ba91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9762e8",
  "rgb": {
    "r": 151,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 263.731,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61643,
    "c": 0.19537,
    "h": 298.8
  },
  "luminance": 0.21141
}

Semantic roles & 50–950 ramp

primary
#9762E8
secondary
#D8EABC
accent
#D70F88
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9762E8

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

Preview Lab → · Contrast checker → · Palette generator →

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