#CFAFFC#CFAFFC

#CFAFFC is a light, moderate violet. Relative luminance 0.510; OKLCH L 80.9% C 0.111 H 303.1°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#CFAFFC
RGBrgb(207, 175, 252)
HSLhsl(265, 93%, 84%)
HSVhsv(265, 31%, 99%)
CMYKcmyk(17.9%, 30.6%, 0%, 1.2%)
CIE-LABlab(76.65, 26.27, -33.90)
CIE-LCHlch(76.65, 42.88, 307.77°)
OKLaboklab(80.9% 0.0607 -0.0933)
OKLCHoklch(80.9% 0.111 303.1)
XYZxyz(58.6292, 50.9537, 98.8229)
Luminance0.5095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFFC #DCFCAF
analogous
#AFB5FC #CFAFFC #F5AFFC
triadic
#CFAFFC #FCCFAF #AFFCCF
tetradic
#CFAFFC #FCAFB5 #DCFCAF #AFFCF5
square
#CFAFFC #FCAFB5 #DCFCAF #AFFCF5
split-complementary
#CFAFFC #FCF5AF #B5FCAF
monochromatic
#8839F8 #AC74FA #CFAFFC #EDE2FE #EDE2FE

Accessibility & contrast

On white

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

On black

11.19
#CFAFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFFC
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFFC#FFFFFF#000000##000000
##CFAFFC1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBCFF
Deuteranopia (green-blind)
#A5BDFA
Tritanopia (blue-blind)
#C8BACB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfaffc;
/* rgb */ color: rgb(207, 175, 252);
/* oklch */ color: oklch(80.9% 0.111 303.1);
Tailwind
colors: {
  custom: {
    50: '#dec7fd',
    500: '#cfaffc',
    950: '#000000',
  },
}
SCSS
$custom: #cfaffc;
$custom-light: #dec7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaffc",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 264.935,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.80899,
    "c": 0.11135,
    "h": 303.1
  },
  "luminance": 0.50954
}

Semantic roles & 50–950 ramp

primary
#CFAFFC
secondary
#B1E06F
accent
#E60086
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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