#9762F6#9762F6

#9762F6 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.6% C 0.212 H 296.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9762F6
RGBrgb(151, 98, 246)
HSLhsl(261, 89%, 67%)
HSVhsv(261, 60%, 96%)
CMYKcmyk(38.6%, 60.2%, 0%, 3.5%)
CIE-LABlab(53.99, 52.41, -66.76)
CIE-LCHlch(53.99, 84.88, 308.13°)
OKLaboklab(62.58% 0.0936 -0.19)
OKLCHoklch(62.58% 0.212 296.2)
XYZxyz(33.7604, 21.9679, 89.6324)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9762F6 #C1F662
analogous
#6277F6 #9762F6 #E162F6
triadic
#9762F6 #F69762 #62F697
tetradic
#9762F6 #F66277 #C1F662 #62F6E1
square
#9762F6 #F66277 #C1F662 #62F6E1
split-complementary
#9762F6 #F6E162 #77F662
monochromatic
#530CD2 #7128F3 #9762F6 #BD9CF9 #E4D6FD

Accessibility & contrast

On white

3.89
#9762F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9762F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9762F6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9762F6#FFFFFF#000000##000000
##9762F61.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#177FF3
Tritanopia (blue-blind)
#8083A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9762f6;
/* rgb */ color: rgb(151, 98, 246);
/* oklch */ color: oklch(62.6% 0.212 296.2);
Tailwind
colors: {
  custom: {
    50: '#bb91fa',
    500: '#9762f6',
    950: '#000000',
  },
}
SCSS
$custom: #9762f6;
$custom-light: #bb91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9762f6",
  "rgb": {
    "r": 151,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 261.486,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62577,
    "c": 0.21185,
    "h": 296.2
  },
  "luminance": 0.21968
}

Semantic roles & 50–950 ramp

primary
#9762F6
secondary
#E0F1C3
accent
#E60093
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9762F6

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

Preview Lab → · Contrast checker → · Palette generator →

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