#CFAFF4#CFAFF4

#CFAFF4 is a light, moderate violet. Relative luminance 0.505; OKLCH L 80.6% C 0.101 H 305.4°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#CFAFF4
RGBrgb(207, 175, 244)
HSLhsl(268, 76%, 82%)
HSVhsv(268, 28%, 96%)
CMYKcmyk(15.2%, 28.3%, 0%, 4.3%)
CIE-LABlab(76.35, 24.55, -30.05)
CIE-LCHlch(76.35, 38.80, 309.24°)
OKLaboklab(80.57% 0.0586 -0.0824)
OKLCHoklch(80.57% 0.101 305.4)
XYZxyz(57.3881, 50.4572, 92.2863)
Luminance0.5046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFF4 #D4F4AF
analogous
#AFB2F4 #CFAFF4 #F1AFF4
triadic
#CFAFF4 #F4CFAF #AFF4CF
tetradic
#CFAFF4 #F4AFB2 #D4F4AF #AFF4F1
square
#CFAFF4 #F4AFB2 #D4F4AF #AFF4F1
split-complementary
#CFAFF4 #F4F1AF #B2F4AF
monochromatic
#8E43E5 #AF79ED #CFAFF4 #EFE4FB #EFE4FB

Accessibility & contrast

On white

1.89
#CFAFF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#CFAFF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFF4
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFF4#FFFFFF#000000##000000
##CFAFF41.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BBF7
Deuteranopia (green-blind)
#A8BDF2
Tritanopia (blue-blind)
#CAB9C7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfaff4;
/* rgb */ color: rgb(207, 175, 244);
/* oklch */ color: oklch(80.6% 0.101 305.4);
Tailwind
colors: {
  custom: {
    50: '#dec7f8',
    500: '#cfaff4',
    950: '#000000',
  },
}
SCSS
$custom: #cfaff4;
$custom-light: #dec7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaff4",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 244
  },
  "hsl": {
    "h": 267.826,
    "s": 75.824,
    "l": 82.157
  },
  "oklch": {
    "l": 0.80568,
    "c": 0.10112,
    "h": 305.4
  },
  "luminance": 0.50457
}

Semantic roles & 50–950 ramp

primary
#CFAFF4
secondary
#A7D473
accent
#D80D7A
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAFF4

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

Preview Lab → · Contrast checker → · Palette generator →

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