#CFA2EF#CFA2EF

#CFA2EF is a light, moderate violet. Relative luminance 0.453; OKLCH L 78.0% C 0.117 H 310.5°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CFA2EF
RGBrgb(207, 162, 239)
HSLhsl(275, 71%, 79%)
HSVhsv(275, 32%, 94%)
CMYKcmyk(13.4%, 32.2%, 0%, 6.3%)
CIE-LABlab(73.11, 30.59, -32.33)
CIE-LCHlch(73.11, 44.50, 313.42°)
OKLaboklab(78.03% 0.0759 -0.0888)
OKLCHoklch(78.03% 0.117 310.5)
XYZxyz(54.2297, 45.3387, 87.5390)
Luminance0.4534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2EF #C2EFA2
analogous
#A8A2EF #CFA2EF #EFA2E8
triadic
#CFA2EF #EFCFA2 #A2EFCF
tetradic
#CFA2EF #EFA8A2 #C2EFA2 #A2E8EF
square
#CFA2EF #EFA8A2 #C2EFA2 #A2E8EF
split-complementary
#CFA2EF #E8EFA2 #A2EFA8
monochromatic
#993ADD #B46EE6 #CFA2EF #EAD6F8 #F2E5FB

Accessibility & contrast

On white

2.09
#CFA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#CFA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2EF
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2EF#FFFFFF#000000##000000
##CFA2EF1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1F2
Deuteranopia (green-blind)
#9EB4ED
Tritanopia (blue-blind)
#CCACBE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfa2ef;
/* rgb */ color: rgb(207, 162, 239);
/* oklch */ color: oklch(78.0% 0.117 310.5);
Tailwind
colors: {
  custom: {
    50: '#debef4',
    500: '#cfa2ef',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2ef;
$custom-light: #debef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2ef",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 275.065,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78032,
    "c": 0.11683,
    "h": 310.5
  },
  "luminance": 0.45338
}

Semantic roles & 50–950 ramp

primary
#CFA2EF
secondary
#E3F2D9
accent
#D31363
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CFA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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