#CFABFB#CFABFB

#CFABFB is a light, moderate violet. Relative luminance 0.494; OKLCH L 80.1% C 0.117 H 304.5°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#CFABFB
RGBrgb(207, 171, 251)
HSLhsl(267, 91%, 83%)
HSVhsv(267, 32%, 98%)
CMYKcmyk(17.5%, 31.9%, 0%, 1.6%)
CIE-LABlab(75.67, 28.24, -34.87)
CIE-LCHlch(75.67, 44.87, 309.00°)
OKLaboklab(80.14% 0.0661 -0.0961)
OKLCHoklch(80.14% 0.117 304.5)
XYZxyz(57.7041, 49.3564, 97.7349)
Luminance0.4936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABFB #D7FBAB
analogous
#ABAFFB #CFABFB #F7ABFB
triadic
#CFABFB #FBCFAB #ABFBCF
tetradic
#CFABFB #FBABAF #D7FBAB #ABFBF7
square
#CFABFB #FBABAF #D7FBAB #ABFBF7
split-complementary
#CFABFB #FBF7AB #AFFBAB
monochromatic
#8C36F5 #AE71F8 #CFABFB #EEE2FE #EEE2FE

Accessibility & contrast

On white

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

On black

10.87
#CFABFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABFB
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABFB#FFFFFF#000000##000000
##CFABFB1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB9FE
Deuteranopia (green-blind)
#A2BBF9
Tritanopia (blue-blind)
#C8B7C8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfabfb;
/* rgb */ color: rgb(207, 171, 251);
/* oklch */ color: oklch(80.1% 0.117 304.5);
Tailwind
colors: {
  custom: {
    50: '#dec4fd',
    500: '#cfabfb',
    950: '#000000',
  },
}
SCSS
$custom: #cfabfb;
$custom-light: #dec4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabfb",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 251
  },
  "hsl": {
    "h": 267,
    "s": 90.909,
    "l": 82.745
  },
  "oklch": {
    "l": 0.80138,
    "c": 0.11663,
    "h": 304.5
  },
  "luminance": 0.49356
}

Semantic roles & 50–950 ramp

primary
#CFABFB
secondary
#E7F6D5
accent
#E6007E
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFABFB

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

Preview Lab → · Contrast checker → · Palette generator →

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