#CFAFF7#CFAFF7

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

Color values

HEX#CFAFF7
RGBrgb(207, 175, 247)
HSLhsl(267, 82%, 83%)
HSVhsv(267, 29%, 97%)
CMYKcmyk(16.2%, 29.1%, 0%, 3.1%)
CIE-LABlab(76.46, 25.19, -31.50)
CIE-LCHlch(76.46, 40.33, 308.65°)
OKLaboklab(80.69% 0.0594 -0.0865)
OKLCHoklch(80.69% 0.105 304.5)
XYZxyz(57.8473, 50.6409, 94.7048)
Luminance0.5064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFF7 #D7F7AF
analogous
#AFB3F7 #CFAFF7 #F3AFF7
triadic
#CFAFF7 #F7CFAF #AFF7CF
tetradic
#CFAFF7 #F7AFB3 #D7F7AF #AFF7F3
square
#CFAFF7 #F7AFB3 #D7F7AF #AFF7F3
split-complementary
#CFAFF7 #F7F3AF #B3F7AF
monochromatic
#8C40EC #AE77F1 #CFAFF7 #EEE3FC #EEE3FC

Accessibility & contrast

On white

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

On black

11.13
#CFAFF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFF7
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFF7#FFFFFF#000000##000000
##CFAFF71.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BCFA
Deuteranopia (green-blind)
#A7BDF5
Tritanopia (blue-blind)
#C9B9C9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfaff7;
/* rgb */ color: rgb(207, 175, 247);
/* oklch */ color: oklch(80.7% 0.105 304.5);
Tailwind
colors: {
  custom: {
    50: '#dec7fa',
    500: '#cfaff7',
    950: '#000000',
  },
}
SCSS
$custom: #cfaff7;
$custom-light: #dec7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaff7",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 247
  },
  "hsl": {
    "h": 266.667,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.80691,
    "c": 0.10494,
    "h": 304.5
  },
  "luminance": 0.50641
}

Semantic roles & 50–950 ramp

primary
#CFAFF7
secondary
#ABD972
accent
#DE077F
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAFF7

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

Preview Lab → · Contrast checker → · Palette generator →

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