#CFAFFA#CFAFFA

#CFAFFA is a light, moderate violet. Relative luminance 0.508; OKLCH L 80.8% C 0.109 H 303.6°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CFAFFA
RGBrgb(207, 175, 250)
HSLhsl(266, 88%, 83%)
HSVhsv(266, 30%, 98%)
CMYKcmyk(17.2%, 30%, 0%, 2%)
CIE-LABlab(76.57, 25.83, -32.94)
CIE-LCHlch(76.57, 41.86, 308.11°)
OKLaboklab(80.82% 0.0602 -0.0906)
OKLCHoklch(80.82% 0.109 303.6)
XYZxyz(58.3139, 50.8276, 97.1625)
Luminance0.5083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFFA #DAFAAF
analogous
#AFB4FA #CFAFFA #F4AFFA
triadic
#CFAFFA #FACFAF #AFFACF
tetradic
#CFAFFA #FAAFB4 #DAFAAF #AFFAF4
square
#CFAFFA #FAAFB4 #DAFAAF #AFFAF4
split-complementary
#CFAFFA #FAF4AF #B4FAAF
monochromatic
#8A3CF3 #AC75F6 #CFAFFA #EEE2FD #EEE2FD

Accessibility & contrast

On white

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

On black

11.17
#CFAFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFFA
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFFA#FFFFFF#000000##000000
##CFAFFA1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BCFD
Deuteranopia (green-blind)
#A6BDF8
Tritanopia (blue-blind)
#C8BACA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfaffa;
/* rgb */ color: rgb(207, 175, 250);
/* oklch */ color: oklch(80.8% 0.109 303.6);
Tailwind
colors: {
  custom: {
    50: '#dec7fc',
    500: '#cfaffa',
    950: '#000000',
  },
}
SCSS
$custom: #cfaffa;
$custom-light: #dec7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaffa",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 265.6,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80815,
    "c": 0.10878,
    "h": 303.6
  },
  "luminance": 0.50827
}

Semantic roles & 50–950 ramp

primary
#CFAFFA
secondary
#AFDD70
accent
#E50183
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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