#CFA5E5#CFA5E5

#CFA5E5 is a light, moderate violet. Relative luminance 0.458; OKLCH L 78.2% C 0.100 H 313.8°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CFA5E5
RGBrgb(207, 165, 229)
HSLhsl(279, 55%, 77%)
HSVhsv(279, 28%, 90%)
CMYKcmyk(9.6%, 27.9%, 0%, 10.2%)
CIE-LABlab(73.44, 26.88, -26.38)
CIE-LCHlch(73.44, 37.67, 315.54°)
OKLaboklab(78.16% 0.0689 -0.072)
OKLCHoklch(78.16% 0.1 313.8)
XYZxyz(53.3278, 45.8336, 80.1510)
Luminance0.4583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA5E5 #BBE5A5
analogous
#AFA5E5 #CFA5E5 #E5A5DB
triadic
#CFA5E5 #E5CFA5 #A5E5CF
tetradic
#CFA5E5 #E5AFA5 #BBE5A5 #A5DBE5
square
#CFA5E5 #E5AFA5 #BBE5A5 #A5DBE5
split-complementary
#CFA5E5 #DBE5A5 #A5E5AF
monochromatic
#9C46CA #B676D7 #CFA5E5 #E8D4F3 #F2E7F8

Accessibility & contrast

On white

2.07
#CFA5E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CFA5E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA5E5
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA5E5#FFFFFF#000000##000000
##CFA5E51.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB2E8
Deuteranopia (green-blind)
#A5B6E3
Tritanopia (blue-blind)
#CEADBC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfa5e5;
/* rgb */ color: rgb(207, 165, 229);
/* oklch */ color: oklch(78.2% 0.100 313.8);
Tailwind
colors: {
  custom: {
    50: '#dec0ed',
    500: '#cfa5e5',
    950: '#000000',
  },
}
SCSS
$custom: #cfa5e5;
$custom-light: #dec0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa5e5",
  "rgb": {
    "r": 207,
    "g": 165,
    "b": 229
  },
  "hsl": {
    "h": 279.375,
    "s": 55.172,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78155,
    "c": 0.09966,
    "h": 313.8
  },
  "luminance": 0.45833
}

Semantic roles & 50–950 ramp

primary
#CFA5E5
secondary
#E2EFDC
accent
#C3235A
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA5E5

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

Preview Lab → · Contrast checker → · Palette generator →

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