#9761C8#9761C8

#9761C8 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.5% C 0.159 H 306.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9761C8
RGBrgb(151, 97, 200)
HSLhsl(271, 48%, 58%)
HSVhsv(271, 52%, 78%)
CMYKcmyk(24.5%, 51.5%, 0%, 21.6%)
CIE-LABlab(51.04, 41.60, -45.53)
CIE-LCHlch(51.04, 61.67, 312.42°)
OKLaboklab(59.52% 0.0942 -0.1277)
OKLCHoklch(59.52% 0.159 306.4)
XYZxyz(27.4604, 19.2991, 56.9108)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9761C8 #92C861
analogous
#6361C8 #9761C8 #C861C6
triadic
#9761C8 #C89761 #61C897
tetradic
#9761C8 #C86361 #92C861 #61C6C8
square
#9761C8 #C86361 #92C861 #61C6C8
split-complementary
#9761C8 #C6C861 #61C863
monochromatic
#592D82 #793DAF #9761C8 #B58ED8 #D3BCE8

Accessibility & contrast

On white

4.32
#9761C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9761C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9761C8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9761C8#FFFFFF#000000##000000
##9761C81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4278CC
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#8F738B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9761c8;
/* rgb */ color: rgb(151, 97, 200);
/* oklch */ color: oklch(59.5% 0.159 306.4);
Tailwind
colors: {
  custom: {
    50: '#b88fd9',
    500: '#9761c8',
    950: '#000000',
  },
}
SCSS
$custom: #9761c8;
$custom-light: #b88fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9761c8",
  "rgb": {
    "r": 151,
    "g": 97,
    "b": 200
  },
  "hsl": {
    "h": 271.456,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59521,
    "c": 0.1587,
    "h": 306.4
  },
  "luminance": 0.19299
}

Semantic roles & 50–950 ramp

primary
#9761C8
secondary
#C1D7AE
accent
#D85091
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #9761C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9761C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva