#C765E1#C765E1

#C765E1 is a light, vivid purple. Relative luminance 0.269; OKLCH L 67.0% C 0.198 H 318.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#C765E1
RGBrgb(199, 101, 225)
HSLhsl(287, 67%, 64%)
HSVhsv(287, 55%, 88%)
CMYKcmyk(11.6%, 55.1%, 0%, 11.8%)
CIE-LABlab(58.87, 57.50, -46.92)
CIE-LCHlch(58.87, 74.22, 320.79°)
OKLaboklab(66.97% 0.1492 -0.1306)
OKLCHoklch(66.97% 0.198 318.8)
XYZxyz(41.7957, 26.8874, 74.2077)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C765E1 #7FE165
analogous
#8965E1 #C765E1 #E165BD
triadic
#C765E1 #E1C765 #65E1C7
tetradic
#C765E1 #E18965 #7FE165 #65BDE1
square
#C765E1 #E18965 #7FE165 #65BDE1
split-complementary
#C765E1 #BDE165 #65E189
monochromatic
#8E21AA #B432D7 #C765E1 #DA98EB #ECCBF5

Accessibility & contrast

On white

3.29
#C765E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#C765E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C765E1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C765E1#FFFFFF#000000##000000
##C765E11.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B87E5
Deuteranopia (green-blind)
#6C91DE
Tritanopia (blue-blind)
#C7789A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c765e1;
/* rgb */ color: rgb(199, 101, 225);
/* oklch */ color: oklch(67.0% 0.198 318.8);
Tailwind
colors: {
  custom: {
    50: '#db95eb',
    500: '#c765e1',
    950: '#000000',
  },
}
SCSS
$custom: #c765e1;
$custom-light: #db95eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c765e1",
  "rgb": {
    "r": 199,
    "g": 101,
    "b": 225
  },
  "hsl": {
    "h": 287.419,
    "s": 67.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66968,
    "c": 0.19829,
    "h": 318.8
  },
  "luminance": 0.26886
}

Semantic roles & 50–950 ramp

primary
#C765E1
secondary
#C4E7BB
accent
#CF163D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C765E1

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

Preview Lab → · Contrast checker → · Palette generator →

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