#C0AFFC#C0AFFC

#C0AFFC is a light, moderate violet. Relative luminance 0.489; OKLCH L 79.6% C 0.109 H 293.9°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#C0AFFC
RGBrgb(192, 175, 252)
HSLhsl(253, 93%, 84%)
HSVhsv(253, 31%, 99%)
CMYKcmyk(23.8%, 30.6%, 0%, 1.2%)
CIE-LABlab(75.39, 21.83, -35.96)
CIE-LCHlch(75.39, 42.06, 301.26°)
OKLaboklab(79.62% 0.0441 -0.0994)
OKLCHoklch(79.62% 0.109 293.9)
XYZxyz(54.6348, 48.8940, 98.6357)
Luminance0.4889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AFFC #EBFCAF
analogous
#AFC4FC #C0AFFC #E6AFFC
triadic
#C0AFFC #FCC0AF #AFFCC0
tetradic
#C0AFFC #FCAFC4 #EBFCAF #AFFCE6
square
#C0AFFC #FCAFC4 #EBFCAF #AFFCE6
split-complementary
#C0AFFC #FCE6AF #C4FCAF
monochromatic
#6339F8 #9274FA #C0AFFC #E8E2FE #E8E2FE

Accessibility & contrast

On white

1.95
#C0AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#C0AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AFFC
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AFFC#FFFFFF#000000##000000
##C0AFFC1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBBFF
Deuteranopia (green-blind)
#9EB8FA
Tritanopia (blue-blind)
#B4BCCB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c0affc;
/* rgb */ color: rgb(192, 175, 252);
/* oklch */ color: oklch(79.6% 0.109 293.9);
Tailwind
colors: {
  custom: {
    50: '#d4c7fd',
    500: '#c0affc',
    950: '#000000',
  },
}
SCSS
$custom: #c0affc;
$custom-light: #d4c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c0affc",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 253.247,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.79624,
    "c": 0.10879,
    "h": 293.9
  },
  "luminance": 0.48895
}

Semantic roles & 50–950 ramp

primary
#C0AFFC
secondary
#EFF6D5
accent
#E600B3
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141317
muted
#838285

Preview Lab

Preview with #C0AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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