#9762DA#9762DA

#9762DA is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.8% C 0.179 H 301.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9762DA
RGBrgb(151, 98, 218)
HSLhsl(267, 62%, 62%)
HSVhsv(267, 55%, 85%)
CMYKcmyk(30.7%, 55%, 0%, 14.5%)
CIE-LABlab(52.26, 45.38, -53.83)
CIE-LCHlch(52.26, 70.41, 310.13°)
OKLaboklab(60.75% 0.0939 -0.152)
OKLCHoklch(60.75% 0.179 301.7)
XYZxyz(29.7821, 20.3765, 68.6801)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9762DA #A5DA62
analogous
#6269DA #9762DA #D362DA
triadic
#9762DA #DA9762 #62DA97
tetradic
#9762DA #DA6269 #A5DA62 #62DAD3
square
#9762DA #DA6269 #A5DA62 #62DAD3
split-complementary
#9762DA #DAD362 #69DA62
monochromatic
#5A259D #7631CE #9762DA #B894E6 #D9C5F1

Accessibility & contrast

On white

4.14
#9762DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9762DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9762DA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9762DA#FFFFFF#000000##000000
##9762DA1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDE
Deuteranopia (green-blind)
#457CD7
Tritanopia (blue-blind)
#8A7A95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9762da;
/* rgb */ color: rgb(151, 98, 218);
/* oklch */ color: oklch(60.8% 0.179 301.7);
Tailwind
colors: {
  custom: {
    50: '#b990e6',
    500: '#9762da',
    950: '#000000',
  },
}
SCSS
$custom: #9762da;
$custom-light: #b990e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9762da",
  "rgb": {
    "r": 151,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 266.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60753,
    "c": 0.1787,
    "h": 301.7
  },
  "luminance": 0.20377
}

Semantic roles & 50–950 ramp

primary
#9762DA
secondary
#CEE2B6
accent
#CA1C7D
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9762DA

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

Preview Lab → · Contrast checker → · Palette generator →

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