#CFABFC#CFABFC

#CFABFC is a light, moderate violet. Relative luminance 0.494; OKLCH L 80.2% C 0.118 H 304.2°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#CFABFC
RGBrgb(207, 171, 252)
HSLhsl(267, 93%, 83%)
HSVhsv(267, 32%, 99%)
CMYKcmyk(17.9%, 32.1%, 0%, 1.2%)
CIE-LABlab(75.71, 28.45, -35.35)
CIE-LCHlch(75.71, 45.38, 308.83°)
OKLaboklab(80.18% 0.0664 -0.0974)
OKLCHoklch(80.18% 0.118 304.2)
XYZxyz(57.8622, 49.4197, 98.5672)
Luminance0.4942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABFC #D8FCAB
analogous
#ABAFFC #CFABFC #F8ABFC
triadic
#CFABFC #FCCFAB #ABFCCF
tetradic
#CFABFC #FCABAF #D8FCAB #ABFCF8
square
#CFABFC #FCABAF #D8FCAB #ABFCF8
split-complementary
#CFABFC #FCF8AB #AFFCAB
monochromatic
#8B35F8 #AD70FA #CFABFC #EEE1FE #EEE1FE

Accessibility & contrast

On white

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

On black

10.88
#CFABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABFC
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABFC#FFFFFF#000000##000000
##CFABFC1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#A1BBFA
Tritanopia (blue-blind)
#C8B7C8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfabfc;
/* rgb */ color: rgb(207, 171, 252);
/* oklch */ color: oklch(80.2% 0.118 304.2);
Tailwind
colors: {
  custom: {
    50: '#dec4fd',
    500: '#cfabfc',
    950: '#000000',
  },
}
SCSS
$custom: #cfabfc;
$custom-light: #dec4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabfc",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 266.667,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.80181,
    "c": 0.11789,
    "h": 304.2
  },
  "luminance": 0.49419
}

Semantic roles & 50–950 ramp

primary
#CFABFC
secondary
#E7F6D5
accent
#E6007F
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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