#CFAFF8#CFAFF8

#CFAFF8 is a light, moderate violet. Relative luminance 0.507; OKLCH L 80.7% C 0.106 H 304.2°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CFAFF8
RGBrgb(207, 175, 248)
HSLhsl(266, 84%, 83%)
HSVhsv(266, 29%, 97%)
CMYKcmyk(16.5%, 29.4%, 0%, 2.7%)
CIE-LABlab(76.50, 25.40, -31.98)
CIE-LCHlch(76.50, 40.84, 308.46°)
OKLaboklab(80.73% 0.0597 -0.0879)
OKLCHoklch(80.73% 0.106 304.2)
XYZxyz(58.0020, 50.7028, 95.5197)
Luminance0.5070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFF8 #D8F8AF
analogous
#AFB3F8 #CFAFF8 #F3AFF8
triadic
#CFAFF8 #F8CFAF #AFF8CF
tetradic
#CFAFF8 #F8AFB3 #D8F8AF #AFF8F3
square
#CFAFF8 #F8AFB3 #D8F8AF #AFF8F3
split-complementary
#CFAFF8 #F8F3AF #B3F8AF
monochromatic
#8B3EEE #AD77F3 #CFAFF8 #EEE3FD #EEE3FD

Accessibility & contrast

On white

1.88
#CFAFF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#CFAFF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFF8
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFF8#FFFFFF#000000##000000
##CFAFF81.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BCFB
Deuteranopia (green-blind)
#A7BDF6
Tritanopia (blue-blind)
#C9BAC9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfaff8;
/* rgb */ color: rgb(207, 175, 248);
/* oklch */ color: oklch(80.7% 0.106 304.2);
Tailwind
colors: {
  custom: {
    50: '#dec7fa',
    500: '#cfaff8',
    950: '#000000',
  },
}
SCSS
$custom: #cfaff8;
$custom-light: #dec7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaff8",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 248
  },
  "hsl": {
    "h": 266.301,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.80732,
    "c": 0.10623,
    "h": 304.2
  },
  "luminance": 0.50703
}

Semantic roles & 50–950 ramp

primary
#CFAFF8
secondary
#ACDA71
accent
#E00580
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAFF8

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

Preview Lab → · Contrast checker → · Palette generator →

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