#C2AFE2#C2AFE2

#C2AFE2 is a light, moderate violet. Relative luminance 0.476; OKLCH L 78.7% C 0.074 H 301.7°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#C2AFE2
RGBrgb(194, 175, 226)
HSLhsl(262, 47%, 79%)
HSVhsv(262, 23%, 89%)
CMYKcmyk(14.2%, 22.6%, 0%, 11.4%)
CIE-LABlab(74.58, 16.65, -23.10)
CIE-LCHlch(74.58, 28.47, 305.79°)
OKLaboklab(78.73% 0.039 -0.063)
OKLCHoklch(78.73% 0.074 301.7)
XYZxyz(51.3028, 47.6202, 78.4256)
Luminance0.4762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AFE2 #CFE2AF
analogous
#AFB5E2 #C2AFE2 #DBAFE2
triadic
#C2AFE2 #E2C2AF #AFE2C2
tetradic
#C2AFE2 #E2AFB5 #CFE2AF #AFE2DB
square
#C2AFE2 #E2AFB5 #CFE2AF #AFE2DB
split-complementary
#C2AFE2 #E2DBAF #B5E2AF
monochromatic
#7D55C1 #A082D2 #C2AFE2 #E4DCF2 #EEE9F7

Accessibility & contrast

On white

2.00
#C2AFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#C2AFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AFE2
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AFE2#FFFFFF#000000##000000
##C2AFE21.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5B7E4
Deuteranopia (green-blind)
#A8B7E0
Tritanopia (blue-blind)
#BDB6C0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2afe2;
/* rgb */ color: rgb(194, 175, 226);
/* oklch */ color: oklch(78.7% 0.074 301.7);
Tailwind
colors: {
  custom: {
    50: '#d5c7eb',
    500: '#c2afe2',
    950: '#000000',
  },
}
SCSS
$custom: #c2afe2;
$custom-light: #d5c7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c2afe2",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 262.353,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78729,
    "c": 0.07406,
    "h": 301.7
  },
  "luminance": 0.4762
}

Semantic roles & 50–950 ramp

primary
#C2AFE2
secondary
#E8EEDD
accent
#BA2B85
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141316
muted
#838284

Preview Lab

Preview with #C2AFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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