#9762ED#9762ED

#9762ED is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 62.0% C 0.201 H 297.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9762ED
RGBrgb(151, 98, 237)
HSLhsl(263, 79%, 66%)
HSVhsv(263, 59%, 93%)
CMYKcmyk(36.3%, 58.6%, 0%, 7.1%)
CIE-LABlab(53.42, 50.12, -62.67)
CIE-LCHlch(53.42, 80.25, 308.65°)
OKLaboklab(61.97% 0.094 -0.178)
OKLCHoklch(61.97% 0.201 297.8)
XYZxyz(32.4124, 21.4287, 82.5328)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9762ED #B8ED62
analogous
#6272ED #9762ED #DD62ED
triadic
#9762ED #ED9762 #62ED97
tetradic
#9762ED #ED6272 #B8ED62 #62EDDD
square
#9762ED #ED6272 #B8ED62 #62EDDD
split-complementary
#9762ED #EDDD62 #72ED62
monochromatic
#5616BF #732BE7 #9762ED #BB99F3 #E0D0FA

Accessibility & contrast

On white

3.97
#9762ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9762ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9762ED
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9762ED#FFFFFF#000000##000000
##9762ED1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0780F2
Deuteranopia (green-blind)
#2D7EEA
Tritanopia (blue-blind)
#83809E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9762ed;
/* rgb */ color: rgb(151, 98, 237);
/* oklch */ color: oklch(62.0% 0.201 297.8);
Tailwind
colors: {
  custom: {
    50: '#ba91f4',
    500: '#9762ed',
    950: '#000000',
  },
}
SCSS
$custom: #9762ed;
$custom-light: #ba91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9762ed",
  "rgb": {
    "r": 151,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 262.878,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61971,
    "c": 0.20129,
    "h": 297.8
  },
  "luminance": 0.21429
}

Semantic roles & 50–950 ramp

primary
#9762ED
secondary
#DBEDBE
accent
#DC0A8C
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9762ED

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

Preview Lab → · Contrast checker → · Palette generator →

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