#9761DC#9761DC

#9761DC is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.183 H 301.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9761DC
RGBrgb(151, 97, 220)
HSLhsl(266, 64%, 62%)
HSVhsv(266, 56%, 86%)
CMYKcmyk(31.4%, 55.9%, 0%, 13.7%)
CIE-LABlab(52.17, 46.42, -55.11)
CIE-LCHlch(52.17, 72.05, 310.11°)
OKLaboklab(60.72% 0.0952 -0.1558)
OKLCHoklch(60.72% 0.183 301.4)
XYZxyz(29.9524, 20.2959, 70.0358)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9761DC #A6DC61
analogous
#6169DC #9761DC #D461DC
triadic
#9761DC #DC9761 #61DC97
tetradic
#9761DC #DC6169 #A6DC61 #61DCD4
square
#9761DC #DC6169 #A6DC61 #61DCD4
split-complementary
#9761DC #DCD461 #69DC61
monochromatic
#5A239F #762FD1 #9761DC #B893E7 #D9C5F2

Accessibility & contrast

On white

4.15
#9761DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9761DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9761DC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9761DC#FFFFFF#000000##000000
##9761DC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7CE0
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#897995
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9761dc;
/* rgb */ color: rgb(151, 97, 220);
/* oklch */ color: oklch(60.7% 0.183 301.4);
Tailwind
colors: {
  custom: {
    50: '#b990e7',
    500: '#9761dc',
    950: '#000000',
  },
}
SCSS
$custom: #9761dc;
$custom-light: #b990e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9761dc",
  "rgb": {
    "r": 151,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 266.341,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60725,
    "c": 0.18257,
    "h": 301.4
  },
  "luminance": 0.20296
}

Semantic roles & 50–950 ramp

primary
#9761DC
secondary
#CFE3B6
accent
#CC1A7E
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9761DC

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

Preview Lab → · Contrast checker → · Palette generator →

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