#9765E4#9765E4

#9765E4 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.8% C 0.186 H 299.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9765E4
RGBrgb(151, 101, 228)
HSLhsl(264, 70%, 65%)
HSVhsv(264, 56%, 89%)
CMYKcmyk(33.8%, 55.7%, 0%, 10.6%)
CIE-LABlab(53.48, 46.23, -57.52)
CIE-LCHlch(53.48, 73.80, 308.79°)
OKLaboklab(61.84% 0.0904 -0.1629)
OKLCHoklch(61.84% 0.186 299)
XYZxyz(31.4164, 21.4878, 75.8762)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765E4 #B2E465
analogous
#6573E4 #9765E4 #D765E4
triadic
#9765E4 #E49765 #65E497
tetradic
#9765E4 #E46573 #B2E465 #65E4D7
square
#9765E4 #E46573 #B2E465 #65E4D7
split-complementary
#9765E4 #E4D765 #73E465
monochromatic
#581FB0 #7431DB #9765E4 #BA99ED #DDCDF6

Accessibility & contrast

On white

3.96
#9765E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9765E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765E4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765E4#FFFFFF#000000##000000
##9765E41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C80E8
Deuteranopia (green-blind)
#3E7FE1
Tritanopia (blue-blind)
#867F9B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9765e4;
/* rgb */ color: rgb(151, 101, 228);
/* oklch */ color: oklch(61.8% 0.186 299.0);
Tailwind
colors: {
  custom: {
    50: '#ba92ed',
    500: '#9765e4',
    950: '#000000',
  },
}
SCSS
$custom: #9765e4;
$custom-light: #ba92ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9765e4",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 228
  },
  "hsl": {
    "h": 263.622,
    "s": 70.166,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61841,
    "c": 0.18629,
    "h": 299
  },
  "luminance": 0.21488
}

Semantic roles & 50–950 ramp

primary
#9765E4
secondary
#D7E8BC
accent
#D21387
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9765E4

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

Preview Lab → · Contrast checker → · Palette generator →

#9765E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva