#CDABFC#CDABFC

#CDABFC is a light, moderate violet. Relative luminance 0.491; OKLCH L 80.0% C 0.117 H 303.1°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CDABFC
RGBrgb(205, 171, 252)
HSLhsl(265, 93%, 83%)
HSVhsv(265, 32%, 99%)
CMYKcmyk(18.7%, 32.1%, 0%, 1.2%)
CIE-LABlab(75.53, 27.86, -35.64)
CIE-LCHlch(75.53, 45.23, 308.01°)
OKLaboklab(80% 0.0641 -0.0983)
OKLCHoklch(80% 0.117 303.1)
XYZxyz(57.3068, 49.1333, 98.5412)
Luminance0.4913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDABFC #DAFCAB
analogous
#ABB1FC #CDABFC #F5ABFC
triadic
#CDABFC #FCCDAB #ABFCCD
tetradic
#CDABFC #FCABB1 #DAFCAB #ABFCF5
square
#CDABFC #FCABB1 #DAFCAB #ABFCF5
split-complementary
#CDABFC #FCF5AB #B1FCAB
monochromatic
#8735F8 #AA70FA #CDABFC #EDE1FE #EDE1FE

Accessibility & contrast

On white

1.94
#CDABFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CDABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDABFC
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDABFC#FFFFFF#000000##000000
##CDABFC1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB9FF
Deuteranopia (green-blind)
#A0BAFA
Tritanopia (blue-blind)
#C5B7C8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdabfc;
/* rgb */ color: rgb(205, 171, 252);
/* oklch */ color: oklch(80.0% 0.117 303.1);
Tailwind
colors: {
  custom: {
    50: '#ddc4fd',
    500: '#cdabfc',
    950: '#000000',
  },
}
SCSS
$custom: #cdabfc;
$custom-light: #ddc4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cdabfc",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 265.185,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.80003,
    "c": 0.11737,
    "h": 303.1
  },
  "luminance": 0.49133
}

Semantic roles & 50–950 ramp

primary
#CDABFC
secondary
#E8F6D5
accent
#E60085
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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