#CFAFE4#CFAFE4

#CFAFE4 is a light, moderate violet. Relative luminance 0.495; OKLCH L 79.9% C 0.081 H 311.8°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CFAFE4
RGBrgb(207, 175, 228)
HSLhsl(276, 50%, 79%)
HSVhsv(276, 23%, 89%)
CMYKcmyk(9.2%, 23.2%, 0%, 10.6%)
CIE-LABlab(75.78, 21.22, -22.26)
CIE-LCHlch(75.78, 30.76, 313.62°)
OKLaboklab(79.94% 0.054 -0.0605)
OKLCHoklch(79.94% 0.081 311.8)
XYZxyz(55.0633, 49.5273, 80.0427)
Luminance0.4953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFE4 #C4E4AF
analogous
#B5AFE4 #CFAFE4 #E4AFDF
triadic
#CFAFE4 #E4CFAF #AFE4CF
tetradic
#CFAFE4 #E4B5AF #C4E4AF #AFDFE4
square
#CFAFE4 #E4B5AF #C4E4AF #AFDFE4
split-complementary
#CFAFE4 #DFE4AF #AFE4B5
monochromatic
#9853C5 #B481D5 #CFAFE4 #EADDF3 #F1E8F7

Accessibility & contrast

On white

1.93
#CFAFE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CFAFE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFE4
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFE4#FFFFFF#000000##000000
##CFAFE41.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7B9E6
Deuteranopia (green-blind)
#AEBBE2
Tritanopia (blue-blind)
#CDB5C1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfafe4;
/* rgb */ color: rgb(207, 175, 228);
/* oklch */ color: oklch(79.9% 0.081 311.8);
Tailwind
colors: {
  custom: {
    50: '#dec7ec',
    500: '#cfafe4',
    950: '#000000',
  },
}
SCSS
$custom: #cfafe4;
$custom-light: #dec7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafe4",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 228
  },
  "hsl": {
    "h": 276.226,
    "s": 49.533,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79941,
    "c": 0.08108,
    "h": 311.8
  },
  "luminance": 0.49527
}

Semantic roles & 50–950 ramp

primary
#CFAFE4
secondary
#E4EEDD
accent
#BD2963
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CFAFE4

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

Preview Lab → · Contrast checker → · Palette generator →

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