#CFAFE3#CFAFE3

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

Color values

HEX#CFAFE3
RGBrgb(207, 175, 227)
HSLhsl(277, 48%, 79%)
HSVhsv(277, 23%, 89%)
CMYKcmyk(8.8%, 22.9%, 0%, 11%)
CIE-LABlab(75.74, 21.02, -21.77)
CIE-LCHlch(75.74, 30.26, 313.99°)
OKLaboklab(79.9% 0.0537 -0.0591)
OKLCHoklch(79.9% 0.08 312.2)
XYZxyz(54.9249, 49.4720, 79.3137)
Luminance0.4947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFE3 #C3E3AF
analogous
#B5AFE3 #CFAFE3 #E3AFDD
triadic
#CFAFE3 #E3CFAF #AFE3CF
tetradic
#CFAFE3 #E3B5AF #C3E3AF #AFDDE3
square
#CFAFE3 #E3B5AF #C3E3AF #AFDDE3
split-complementary
#CFAFE3 #DDE3AF #AFE3B5
monochromatic
#9954C3 #B482D3 #CFAFE3 #EADCF3 #F1E8F7

Accessibility & contrast

On white

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

On black

10.89
#CFAFE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFE3
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFE3#FFFFFF#000000##000000
##CFAFE31.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfafe3;
/* rgb */ color: rgb(207, 175, 227);
/* oklch */ color: oklch(79.9% 0.080 312.2);
Tailwind
colors: {
  custom: {
    50: '#dec7ec',
    500: '#cfafe3',
    950: '#000000',
  },
}
SCSS
$custom: #cfafe3;
$custom-light: #dec7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafe3",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 227
  },
  "hsl": {
    "h": 276.923,
    "s": 48.148,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79903,
    "c": 0.07985,
    "h": 312.2
  },
  "luminance": 0.49471
}

Semantic roles & 50–950 ramp

primary
#CFAFE3
secondary
#E4EEDD
accent
#BB2A62
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CFAFE3

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

Preview Lab → · Contrast checker → · Palette generator →

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