#CFA5EB#CFA5EB

#CFA5EB is a light, moderate violet. Relative luminance 0.462; OKLCH L 78.4% C 0.107 H 311.3°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#CFA5EB
RGBrgb(207, 165, 235)
HSLhsl(276, 64%, 78%)
HSVhsv(276, 30%, 92%)
CMYKcmyk(11.9%, 29.8%, 0%, 7.8%)
CIE-LABlab(73.66, 28.12, -29.31)
CIE-LCHlch(73.66, 40.62, 313.81°)
OKLaboklab(78.4% 0.0706 -0.0802)
OKLCHoklch(78.4% 0.107 311.3)
XYZxyz(54.1801, 46.1745, 84.6395)
Luminance0.4617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA5EB #C1EBA5
analogous
#ACA5EB #CFA5EB #EBA5E4
triadic
#CFA5EB #EBCFA5 #A5EBCF
tetradic
#CFA5EB #EBACA5 #C1EBA5 #A5E4EB
square
#CFA5EB #EBACA5 #C1EBA5 #A5E4EB
split-complementary
#CFA5EB #E4EBA5 #A5EBAC
monochromatic
#9A41D5 #B473E0 #CFA5EB #EAD7F6 #F2E6F9

Accessibility & contrast

On white

2.05
#CFA5EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#CFA5EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA5EB
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA5EB#FFFFFF#000000##000000
##CFA5EB1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB3EE
Deuteranopia (green-blind)
#A2B6E9
Tritanopia (blue-blind)
#CCAEBE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfa5eb;
/* rgb */ color: rgb(207, 165, 235);
/* oklch */ color: oklch(78.4% 0.107 311.3);
Tailwind
colors: {
  custom: {
    50: '#dec0f1',
    500: '#cfa5eb',
    950: '#000000',
  },
}
SCSS
$custom: #cfa5eb;
$custom-light: #dec0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa5eb",
  "rgb": {
    "r": 207,
    "g": 165,
    "b": 235
  },
  "hsl": {
    "h": 276,
    "s": 63.636,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78397,
    "c": 0.10686,
    "h": 311.3
  },
  "luminance": 0.46174
}

Semantic roles & 50–950 ramp

primary
#CFA5EB
secondary
#E3F1DA
accent
#CB1A61
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA5EB

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

Preview Lab → · Contrast checker → · Palette generator →

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