#9762CD#9762CD

#9762CD is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.0% C 0.163 H 304.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9762CD
RGBrgb(151, 98, 205)
HSLhsl(270, 52%, 59%)
HSVhsv(270, 52%, 80%)
CMYKcmyk(26.3%, 52.2%, 0%, 19.6%)
CIE-LABlab(51.52, 42.23, -47.61)
CIE-LCHlch(51.52, 63.64, 311.57°)
OKLaboklab(59.97% 0.0932 -0.1338)
OKLCHoklch(59.97% 0.163 304.9)
XYZxyz(28.1473, 19.7226, 60.0698)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9762CD #98CD62
analogous
#6263CD #9762CD #CD62CD
triadic
#9762CD #CD9762 #62CD97
tetradic
#9762CD #CD6263 #98CD62 #62CDCD
square
#9762CD #CD6263 #98CD62 #62CDCD
split-complementary
#9762CD #CDCD62 #63CD62
monochromatic
#5A2C89 #783AB7 #9762CD #B690DC #D4BFEB

Accessibility & contrast

On white

4.25
#9762CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9762CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9762CD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9762CD#FFFFFF#000000##000000
##9762CD1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D1
Deuteranopia (green-blind)
#507BCA
Tritanopia (blue-blind)
#8E768E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9762cd;
/* rgb */ color: rgb(151, 98, 205);
/* oklch */ color: oklch(60.0% 0.163 304.9);
Tailwind
colors: {
  custom: {
    50: '#b890dd',
    500: '#9762cd',
    950: '#000000',
  },
}
SCSS
$custom: #9762cd;
$custom-light: #b890dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9762cd",
  "rgb": {
    "r": 151,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 269.72,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.16311,
    "h": 304.9
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#9762CD
secondary
#C6DAB1
accent
#DB4D95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #9762CD

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

Preview Lab → · Contrast checker → · Palette generator →

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