#9762CA#9762CA

#9762CA is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.8% C 0.160 H 305.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9762CA
RGBrgb(151, 98, 202)
HSLhsl(271, 50%, 59%)
HSVhsv(271, 51%, 79%)
CMYKcmyk(25.2%, 51.5%, 0%, 20.8%)
CIE-LABlab(51.36, 41.52, -46.16)
CIE-LCHlch(51.36, 62.08, 311.97°)
OKLaboklab(59.8% 0.093 -0.1296)
OKLCHoklch(59.8% 0.16 305.7)
XYZxyz(27.7886, 19.5791, 58.1809)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9762CA #95CA62
analogous
#6362CA #9762CA #CA62C9
triadic
#9762CA #CA9762 #62CA97
tetradic
#9762CA #CA6362 #95CA62 #62C9CA
square
#9762CA #CA6362 #95CA62 #62C9CA
split-complementary
#9762CA #C9CA62 #62CA63
monochromatic
#5A2D85 #793CB3 #9762CA #B590D9 #D4BEE9

Accessibility & contrast

On white

4.27
#9762CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9762CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9762CA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9762CA#FFFFFF#000000##000000
##9762CA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4279CE
Deuteranopia (green-blind)
#527BC7
Tritanopia (blue-blind)
#8F758D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9762ca;
/* rgb */ color: rgb(151, 98, 202);
/* oklch */ color: oklch(59.8% 0.160 305.7);
Tailwind
colors: {
  custom: {
    50: '#b890da',
    500: '#9762ca',
    950: '#000000',
  },
}
SCSS
$custom: #9762ca;
$custom-light: #b890da;
$custom-dark: #000000;
JSON
{
  "hex": "#9762ca",
  "rgb": {
    "r": 151,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 270.577,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59795,
    "c": 0.1595,
    "h": 305.7
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#9762CA
secondary
#C4D8AF
accent
#D94F93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #9762CA

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

Preview Lab → · Contrast checker → · Palette generator →

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