#C2A8EA#C2A8EA

#C2A8EA is a light, moderate violet. Relative luminance 0.454; OKLCH L 77.7% C 0.096 H 302.3°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#C2A8EA
RGBrgb(194, 168, 234)
HSLhsl(264, 61%, 79%)
HSVhsv(264, 28%, 92%)
CMYKcmyk(17.1%, 28.2%, 0%, 8.2%)
CIE-LABlab(73.16, 22.23, -29.63)
CIE-LCHlch(73.16, 37.04, 306.89°)
OKLaboklab(77.73% 0.0514 -0.0813)
OKLCHoklch(77.73% 0.096 302.3)
XYZxyz(51.0990, 45.4151, 83.8999)
Luminance0.4541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A8EA #D0EAA8
analogous
#A8AFEA #C2A8EA #E3A8EA
triadic
#C2A8EA #EAC2A8 #A8EAC2
tetradic
#C2A8EA #EAA8AF #D0EAA8 #A8EAE3
square
#C2A8EA #EAA8AF #D0EAA8 #A8EAE3
split-complementary
#C2A8EA #EAE3A8 #AFEAA8
monochromatic
#7D45D2 #9F77DE #C2A8EA #E5D9F6 #EEE6F9

Accessibility & contrast

On white

2.08
#C2A8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#C2A8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A8EA
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A8EA#FFFFFF#000000##000000
##C2A8EA1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB3ED
Deuteranopia (green-blind)
#9FB3E8
Tritanopia (blue-blind)
#BCB2BF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c2a8ea;
/* rgb */ color: rgb(194, 168, 234);
/* oklch */ color: oklch(77.7% 0.096 302.3);
Tailwind
colors: {
  custom: {
    50: '#d5c2f1',
    500: '#c2a8ea',
    950: '#000000',
  },
}
SCSS
$custom: #c2a8ea;
$custom-light: #d5c2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a8ea",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 263.636,
    "s": 61.111,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7773,
    "c": 0.09621,
    "h": 302.3
  },
  "luminance": 0.45415
}

Semantic roles & 50–950 ramp

primary
#C2A8EA
secondary
#E8F0DB
accent
#C91D85
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C2A8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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