#CFA4EB#CFA4EB

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

Color values

HEX#CFA4EB
RGBrgb(207, 164, 235)
HSLhsl(276, 64%, 78%)
HSVhsv(276, 30%, 92%)
CMYKcmyk(11.9%, 30.2%, 0%, 7.8%)
CIE-LABlab(73.43, 28.66, -29.67)
CIE-LCHlch(73.43, 41.25, 314.01°)
OKLaboklab(78.22% 0.072 -0.0812)
OKLCHoklch(78.22% 0.109 311.6)
XYZxyz(54.0004, 45.8152, 84.5796)
Luminance0.4581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA4EB #C0EBA4
analogous
#ABA4EB #CFA4EB #EBA4E3
triadic
#CFA4EB #EBCFA4 #A4EBCF
tetradic
#CFA4EB #EBABA4 #C0EBA4 #A4E3EB
square
#CFA4EB #EBABA4 #C0EBA4 #A4E3EB
split-complementary
#CFA4EB #E3EBA4 #A4EBAB
monochromatic
#9A40D5 #B572E0 #CFA4EB #E9D6F6 #F2E6F9

Accessibility & contrast

On white

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

On black

10.16
#CFA4EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA4EB
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA4EB#FFFFFF#000000##000000
##CFA4EB1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2EE
Deuteranopia (green-blind)
#A2B5E9
Tritanopia (blue-blind)
#CCADBE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfa4eb;
/* rgb */ color: rgb(207, 164, 235);
/* oklch */ color: oklch(78.2% 0.109 311.6);
Tailwind
colors: {
  custom: {
    50: '#debff1',
    500: '#cfa4eb',
    950: '#000000',
  },
}
SCSS
$custom: #cfa4eb;
$custom-light: #debff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa4eb",
  "rgb": {
    "r": 207,
    "g": 164,
    "b": 235
  },
  "hsl": {
    "h": 276.338,
    "s": 63.964,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78219,
    "c": 0.10857,
    "h": 311.6
  },
  "luminance": 0.45814
}

Semantic roles & 50–950 ramp

primary
#CFA4EB
secondary
#E3F1DA
accent
#CC1A60
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA4EB

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

Preview Lab → · Contrast checker → · Palette generator →

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