#C767F2#C767F2

#C767F2 is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.2% C 0.212 H 314.1°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#C767F2
RGBrgb(199, 103, 242)
HSLhsl(281, 84%, 68%)
HSVhsv(281, 57%, 95%)
CMYKcmyk(17.8%, 57.4%, 0%, 5.1%)
CIE-LABlab(60.12, 59.94, -54.42)
CIE-LCHlch(60.12, 80.96, 317.76°)
OKLaboklab(68.17% 0.1476 -0.1524)
OKLCHoklch(68.17% 0.212 314.1)
XYZxyz(44.4278, 28.2547, 87.1005)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C767F2 #92F267
analogous
#8267F2 #C767F2 #F267D7
triadic
#C767F2 #F2C767 #67F2C7
tetradic
#C767F2 #F28267 #92F267 #67D7F2
square
#C767F2 #F28267 #92F267 #67D7F2
split-complementary
#C767F2 #D7F267 #67F282
monochromatic
#9312CD #B22FED #C767F2 #DC9FF7 #F1D8FC

Accessibility & contrast

On white

3.16
#C767F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#C767F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C767F2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C767F2#FFFFFF#000000##000000
##C767F21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8BF6
Deuteranopia (green-blind)
#6393EF
Tritanopia (blue-blind)
#C37FA3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c767f2;
/* rgb */ color: rgb(199, 103, 242);
/* oklch */ color: oklch(68.2% 0.212 314.1);
Tailwind
colors: {
  custom: {
    50: '#db97f7',
    500: '#c767f2',
    950: '#000000',
  },
}
SCSS
$custom: #c767f2;
$custom-light: #db97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c767f2",
  "rgb": {
    "r": 199,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 281.439,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6817,
    "c": 0.21219,
    "h": 314.1
  },
  "luminance": 0.28253
}

Semantic roles & 50–950 ramp

primary
#C767F2
secondary
#D2F0C5
accent
#E10549
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C767F2

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

Preview Lab → · Contrast checker → · Palette generator →

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