#9765E3#9765E3

#9765E3 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.8% C 0.185 H 299.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9765E3
RGBrgb(151, 101, 227)
HSLhsl(264, 69%, 64%)
HSVhsv(264, 56%, 89%)
CMYKcmyk(33.5%, 55.5%, 0%, 11%)
CIE-LABlab(53.42, 45.98, -57.06)
CIE-LCHlch(53.42, 73.28, 308.86°)
OKLaboklab(61.78% 0.0904 -0.1615)
OKLCHoklch(61.78% 0.185 299.2)
XYZxyz(31.2779, 21.4324, 75.1472)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765E3 #B1E365
analogous
#6572E3 #9765E3 #D665E3
triadic
#9765E3 #E39765 #65E397
tetradic
#9765E3 #E36572 #B1E365 #65E3D6
square
#9765E3 #E36572 #B1E365 #65E3D6
split-complementary
#9765E3 #E3D665 #72E365
monochromatic
#5820AE #7431DA #9765E3 #BA99EC #DDCDF6

Accessibility & contrast

On white

3.97
#9765E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9765E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765E3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765E3#FFFFFF#000000##000000
##9765E31.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7FE7
Deuteranopia (green-blind)
#407FE0
Tritanopia (blue-blind)
#877E9A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9765e3;
/* rgb */ color: rgb(151, 101, 227);
/* oklch */ color: oklch(61.8% 0.185 299.2);
Tailwind
colors: {
  custom: {
    50: '#ba92ec',
    500: '#9765e3',
    950: '#000000',
  },
}
SCSS
$custom: #9765e3;
$custom-light: #ba92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9765e3",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 227
  },
  "hsl": {
    "h": 263.81,
    "s": 69.231,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61778,
    "c": 0.18508,
    "h": 299.2
  },
  "luminance": 0.21433
}

Semantic roles & 50–950 ramp

primary
#9765E3
secondary
#D6E8BC
accent
#D11486
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9765E3

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

Preview Lab → · Contrast checker → · Palette generator →

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