#CFABFA#CFABFA

#CFABFA is a light, moderate violet. Relative luminance 0.493; OKLCH L 80.1% C 0.115 H 304.8°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CFABFA
RGBrgb(207, 171, 250)
HSLhsl(267, 89%, 83%)
HSVhsv(267, 32%, 98%)
CMYKcmyk(17.2%, 31.6%, 0%, 2%)
CIE-LABlab(75.63, 28.02, -34.39)
CIE-LCHlch(75.63, 44.36, 309.17°)
OKLaboklab(80.1% 0.0659 -0.0947)
OKLCHoklch(80.1% 0.115 304.8)
XYZxyz(57.5469, 49.2936, 96.9069)
Luminance0.4929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABFA #D6FAAB
analogous
#ABAEFA #CFABFA #F7ABFA
triadic
#CFABFA #FACFAB #ABFACF
tetradic
#CFABFA #FAABAE #D6FAAB #ABFAF7
square
#CFABFA #FAABAE #D6FAAB #ABFAF7
split-complementary
#CFABFA #FAF7AB #AEFAAB
monochromatic
#8D37F3 #AE71F7 #CFABFA #EEE2FD #EEE2FD

Accessibility & contrast

On white

1.93
#CFABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#CFABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABFA
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABFA#FFFFFF#000000##000000
##CFABFA1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB9FD
Deuteranopia (green-blind)
#A2BAF8
Tritanopia (blue-blind)
#C9B7C8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfabfa;
/* rgb */ color: rgb(207, 171, 250);
/* oklch */ color: oklch(80.1% 0.115 304.8);
Tailwind
colors: {
  custom: {
    50: '#dec4fc',
    500: '#cfabfa',
    950: '#000000',
  },
}
SCSS
$custom: #cfabfa;
$custom-light: #dec4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabfa",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 267.342,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80095,
    "c": 0.11537,
    "h": 304.8
  },
  "luminance": 0.49293
}

Semantic roles & 50–950 ramp

primary
#CFABFA
secondary
#E7F5D6
accent
#E5007D
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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