#CFA2EB#CFA2EB

#CFA2EB is a light, moderate violet. Relative luminance 0.451; OKLCH L 77.9% C 0.112 H 312.0°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#CFA2EB
RGBrgb(207, 162, 235)
HSLhsl(277, 65%, 78%)
HSVhsv(277, 31%, 92%)
CMYKcmyk(11.9%, 31.1%, 0%, 7.8%)
CIE-LABlab(72.96, 29.75, -30.38)
CIE-LCHlch(72.96, 42.53, 314.40°)
OKLaboklab(77.86% 0.0749 -0.0833)
OKLCHoklch(77.86% 0.112 312)
XYZxyz(53.6453, 45.1050, 84.4612)
Luminance0.4510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2EB #BEEBA2
analogous
#AAA2EB #CFA2EB #EBA2E3
triadic
#CFA2EB #EBCFA2 #A2EBCF
tetradic
#CFA2EB #EBAAA2 #BEEBA2 #A2E3EB
square
#CFA2EB #EBAAA2 #BEEBA2 #A2E3EB
split-complementary
#CFA2EB #E3EBA2 #A2EBAA
monochromatic
#9B3DD5 #B570E0 #CFA2EB #E9D4F6 #F2E6FA

Accessibility & contrast

On white

2.10
#CFA2EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#CFA2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2EB
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2EB#FFFFFF#000000##000000
##CFA2EB1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B1EE
Deuteranopia (green-blind)
#A0B4E9
Tritanopia (blue-blind)
#CCACBC
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfa2eb;
/* rgb */ color: rgb(207, 162, 235);
/* oklch */ color: oklch(77.9% 0.112 312.0);
Tailwind
colors: {
  custom: {
    50: '#debef1',
    500: '#cfa2eb',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2eb;
$custom-light: #debef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2eb",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 276.986,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77864,
    "c": 0.11201,
    "h": 312
  },
  "luminance": 0.45104
}

Semantic roles & 50–950 ramp

primary
#CFA2EB
secondary
#E3F1DA
accent
#CC195E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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