#9765CA#9765CA

#9765CA is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.3% C 0.155 H 305.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9765CA
RGBrgb(151, 101, 202)
HSLhsl(270, 49%, 59%)
HSVhsv(270, 50%, 79%)
CMYKcmyk(25.2%, 50%, 0%, 20.8%)
CIE-LABlab(52.01, 39.85, -45.13)
CIE-LCHlch(52.01, 60.21, 311.45°)
OKLaboklab(60.28% 0.0889 -0.1266)
OKLCHoklch(60.28% 0.155 305.1)
XYZxyz(28.0746, 20.1511, 58.2762)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765CA #98CA65
analogous
#6566CA #9765CA #CA65CA
triadic
#9765CA #CA9765 #65CA97
tetradic
#9765CA #CA6566 #98CA65 #65CACA
square
#9765CA #CA6566 #98CA65 #65CACA
split-complementary
#9765CA #CACA65 #66CA65
monochromatic
#5A2E86 #783EB4 #9765CA #B693DA #D4C0E9

Accessibility & contrast

On white

4.17
#9765CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9765CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765CA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765CA#FFFFFF#000000##000000
##9765CA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCE
Deuteranopia (green-blind)
#557CC7
Tritanopia (blue-blind)
#8F778E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9765ca;
/* rgb */ color: rgb(151, 101, 202);
/* oklch */ color: oklch(60.3% 0.155 305.1);
Tailwind
colors: {
  custom: {
    50: '#b892da',
    500: '#9765ca',
    950: '#000000',
  },
}
SCSS
$custom: #9765ca;
$custom-light: #b892da;
$custom-dark: #000000;
JSON
{
  "hex": "#9765ca",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 269.703,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60277,
    "c": 0.1547,
    "h": 305.1
  },
  "luminance": 0.20151
}

Semantic roles & 50–950 ramp

primary
#9765CA
secondary
#C6D9B2
accent
#D84F95
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9765CA

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

Preview Lab → · Contrast checker → · Palette generator →

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