#CFAFF6#CFAFF6

#CFAFF6 is a light, moderate violet. Relative luminance 0.506; OKLCH L 80.7% C 0.104 H 304.8°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#CFAFF6
RGBrgb(207, 175, 246)
HSLhsl(267, 80%, 83%)
HSVhsv(267, 29%, 96%)
CMYKcmyk(15.9%, 28.9%, 0%, 3.5%)
CIE-LABlab(76.42, 24.97, -31.02)
CIE-LCHlch(76.42, 39.82, 308.84°)
OKLaboklab(80.65% 0.0592 -0.0851)
OKLCHoklch(80.65% 0.104 304.8)
XYZxyz(57.6934, 50.5794, 93.8943)
Luminance0.5058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFF6 #D6F6AF
analogous
#AFB3F6 #CFAFF6 #F2AFF6
triadic
#CFAFF6 #F6CFAF #AFF6CF
tetradic
#CFAFF6 #F6AFB3 #D6F6AF #AFF6F2
square
#CFAFF6 #F6AFB3 #D6F6AF #AFF6F2
split-complementary
#CFAFF6 #F6F2AF #B3F6AF
monochromatic
#8D41EA #AE78F0 #CFAFF6 #EEE3FC #EEE3FC

Accessibility & contrast

On white

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

On black

11.12
#CFAFF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFF6
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFF6#FFFFFF#000000##000000
##CFAFF61.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BCF9
Deuteranopia (green-blind)
#A7BDF4
Tritanopia (blue-blind)
#C9B9C8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfaff6;
/* rgb */ color: rgb(207, 175, 246);
/* oklch */ color: oklch(80.7% 0.104 304.8);
Tailwind
colors: {
  custom: {
    50: '#dec7f9',
    500: '#cfaff6',
    950: '#000000',
  },
}
SCSS
$custom: #cfaff6;
$custom-light: #dec7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaff6",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 246
  },
  "hsl": {
    "h": 267.042,
    "s": 79.775,
    "l": 82.549
  },
  "oklch": {
    "l": 0.8065,
    "c": 0.10367,
    "h": 304.8
  },
  "luminance": 0.50579
}

Semantic roles & 50–950 ramp

primary
#CFAFF6
secondary
#AAD772
accent
#DC097D
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAFF6

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

Preview Lab → · Contrast checker → · Palette generator →

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