#C0AFFE#C0AFFE

#C0AFFE is a light, moderate violet. Relative luminance 0.490; OKLCH L 79.7% C 0.111 H 293.6°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#C0AFFE
RGBrgb(192, 175, 254)
HSLhsl(253, 98%, 84%)
HSVhsv(253, 31%, 100%)
CMYKcmyk(24.4%, 31.1%, 0%, 0.4%)
CIE-LABlab(75.46, 22.29, -36.91)
CIE-LCHlch(75.46, 43.12, 301.13°)
OKLaboklab(79.71% 0.0446 -0.1022)
OKLCHoklch(79.71% 0.111 293.6)
XYZxyz(54.9533, 49.0215, 100.3136)
Luminance0.4902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AFFE #EDFEAF
analogous
#AFC6FE #C0AFFE #E8AFFE
triadic
#C0AFFE #FEC0AF #AFFEC0
tetradic
#C0AFFE #FEAFC6 #EDFEAF #AFFEE8
square
#C0AFFE #FEAFC6 #EDFEAF #AFFEE8
split-complementary
#C0AFFE #FEE8AF #C6FEAF
monochromatic
#6136FC #9073FD #C0AFFE #E7E1FF #E7E1FF

Accessibility & contrast

On white

1.94
#C0AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#C0AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AFFE
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AFFE#FFFFFF#000000##000000
##C0AFFE1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBBFF
Deuteranopia (green-blind)
#9DB9FC
Tritanopia (blue-blind)
#B3BCCB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c0affe;
/* rgb */ color: rgb(192, 175, 254);
/* oklch */ color: oklch(79.7% 0.111 293.6);
Tailwind
colors: {
  custom: {
    50: '#d4c7ff',
    500: '#c0affe',
    950: '#000000',
  },
}
SCSS
$custom: #c0affe;
$custom-light: #d4c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c0affe",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 252.911,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.79711,
    "c": 0.11149,
    "h": 293.6
  },
  "luminance": 0.49022
}

Semantic roles & 50–950 ramp

primary
#C0AFFE
secondary
#EFF7D4
accent
#E600B4
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141318
muted
#838286

Preview Lab

Preview with #C0AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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