#9761E7#9761E7

#9761E7 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.4% C 0.196 H 299.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9761E7
RGBrgb(151, 97, 231)
HSLhsl(264, 74%, 64%)
HSVhsv(264, 58%, 91%)
CMYKcmyk(34.6%, 58%, 0%, 9.4%)
CIE-LABlab(52.84, 49.14, -60.24)
CIE-LCHlch(52.84, 77.74, 309.21°)
OKLaboklab(61.43% 0.0952 -0.1709)
OKLCHoklch(61.43% 0.196 299.1)
XYZxyz(31.4575, 20.8979, 77.9622)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9761E7 #B1E761
analogous
#616EE7 #9761E7 #DA61E7
triadic
#9761E7 #E79761 #61E797
tetradic
#9761E7 #E7616E #B1E761 #61E7DA
square
#9761E7 #E7616E #B1E761 #61E7DA
split-complementary
#9761E7 #E7DA61 #6EE761
monochromatic
#581BB2 #742CDF #9761E7 #BA96EF #DDCBF7

Accessibility & contrast

On white

4.05
#9761E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9761E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9761E7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9761E7#FFFFFF#000000##000000
##9761E71.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#187EEB
Deuteranopia (green-blind)
#347DE4
Tritanopia (blue-blind)
#867D9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9761e7;
/* rgb */ color: rgb(151, 97, 231);
/* oklch */ color: oklch(61.4% 0.196 299.1);
Tailwind
colors: {
  custom: {
    50: '#ba90ef',
    500: '#9761e7',
    950: '#000000',
  },
}
SCSS
$custom: #9761e7;
$custom-light: #ba90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9761e7",
  "rgb": {
    "r": 151,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 264.179,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61429,
    "c": 0.19561,
    "h": 299.1
  },
  "luminance": 0.20898
}

Semantic roles & 50–950 ramp

primary
#9761E7
secondary
#D6E9BB
accent
#D61086
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9761E7

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

Preview Lab → · Contrast checker → · Palette generator →

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