#C765FC#C765FC

#C765FC is a light, highly saturated violet. Relative luminance 0.285; OKLCH L 68.5% C 0.225 H 311.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#C765FC
RGBrgb(199, 101, 252)
HSLhsl(279, 96%, 69%)
HSVhsv(279, 60%, 99%)
CMYKcmyk(21%, 59.9%, 0%, 1.2%)
CIE-LABlab(60.32, 62.96, -59.63)
CIE-LCHlch(60.32, 86.72, 316.55°)
OKLaboklab(68.49% 0.1502 -0.1677)
OKLCHoklch(68.49% 0.225 311.8)
XYZxyz(45.7744, 28.4789, 95.1622)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C765FC #9AFC65
analogous
#7C65FC #C765FC #FC65E6
triadic
#C765FC #FCC765 #65FCC7
tetradic
#C765FC #FC7C65 #9AFC65 #65E6FC
square
#C765FC #FC7C65 #9AFC65 #65E6FC
split-complementary
#C765FC #E6FC65 #65FC7C
monochromatic
#9404E2 #B129FB #C765FC #DDA1FD #F3DDFE

Accessibility & contrast

On white

3.14
#C765FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#C765FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C765FC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C765FC#FFFFFF#000000##000000
##C765FC1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8DFF
Deuteranopia (green-blind)
#5993F8
Tritanopia (blue-blind)
#C181A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c765fc;
/* rgb */ color: rgb(199, 101, 252);
/* oklch */ color: oklch(68.5% 0.225 311.8);
Tailwind
colors: {
  custom: {
    50: '#dc96fe',
    500: '#c765fc',
    950: '#000000',
  },
}
SCSS
$custom: #c765fc;
$custom-light: #dc96fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c765fc",
  "rgb": {
    "r": 199,
    "g": 101,
    "b": 252
  },
  "hsl": {
    "h": 278.94,
    "s": 96.178,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68494,
    "c": 0.22508,
    "h": 311.8
  },
  "luminance": 0.28478
}

Semantic roles & 50–950 ramp

primary
#C765FC
secondary
#D8F4C8
accent
#E60051
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C765FC

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

Preview Lab → · Contrast checker → · Palette generator →

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