#C765DC#C765DC

#C765DC is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.7% C 0.193 H 320.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#C765DC
RGBrgb(199, 101, 220)
HSLhsl(289, 63%, 63%)
HSVhsv(289, 54%, 86%)
CMYKcmyk(9.5%, 54.1%, 0%, 13.7%)
CIE-LABlab(58.62, 56.53, -44.51)
CIE-LCHlch(58.62, 71.95, 321.79°)
OKLaboklab(66.7% 0.1488 -0.1236)
OKLCHoklch(66.7% 0.193 320.3)
XYZxyz(41.1236, 26.6185, 70.6680)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C765DC #7ADC65
analogous
#8B65DC #C765DC #DC65B5
triadic
#C765DC #DCC765 #65DCC7
tetradic
#C765DC #DC8B65 #7ADC65 #65B5DC
square
#C765DC #DC8B65 #7ADC65 #65B5DC
split-complementary
#C765DC #B5DC65 #65DC8B
monochromatic
#8C25A2 #B533D1 #C765DC #D997E7 #EBC9F3

Accessibility & contrast

On white

3.32
#C765DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#C765DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C765DC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C765DC#FFFFFF#000000##000000
##C765DC1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#C87697
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c765dc;
/* rgb */ color: rgb(199, 101, 220);
/* oklch */ color: oklch(66.7% 0.193 320.3);
Tailwind
colors: {
  custom: {
    50: '#da95e7',
    500: '#c765dc',
    950: '#000000',
  },
}
SCSS
$custom: #c765dc;
$custom-light: #da95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c765dc",
  "rgb": {
    "r": 199,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 289.412,
    "s": 62.963,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66703,
    "c": 0.19343,
    "h": 320.3
  },
  "luminance": 0.26617
}

Semantic roles & 50–950 ramp

primary
#C765DC
secondary
#C1E4B9
accent
#CB1B3A
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C765DC

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

Preview Lab → · Contrast checker → · Palette generator →

#C765DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva