#CDC1FB#CDC1FB

#CDC1FB is a very light, moderate violet. Relative luminance 0.581; OKLCH L 84.0% C 0.081 H 294.1°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CDC1FB
RGBrgb(205, 193, 251)
HSLhsl(252, 88%, 87%)
HSVhsv(252, 23%, 98%)
CMYKcmyk(18.3%, 23.1%, 0%, 1.6%)
CIE-LABlab(80.79, 15.65, -27.02)
CIE-LCHlch(80.79, 31.23, 300.08°)
OKLaboklab(84.03% 0.0331 -0.074)
OKLCHoklch(84.03% 0.081 294.1)
XYZxyz(61.6555, 58.0836, 99.2111)
Luminance0.5808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC1FB #EFFBC1
analogous
#C1D2FB #CDC1FB #EAC1FB
triadic
#CDC1FB #FBCDC1 #C1FBCD
tetradic
#CDC1FB #FBC1D2 #EFFBC1 #C1FBEA
square
#CDC1FB #FBC1D2 #EFFBC1 #C1FBEA
split-complementary
#CDC1FB #FBEAC1 #D2FBC1
monochromatic
#704EF4 #9F88F7 #CDC1FB #E8E2FD #E8E2FD

Accessibility & contrast

On white

1.66
#CDC1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CDC1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC1FB
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC1FB#FFFFFF#000000##000000
##CDC1FB1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4C9FE
Deuteranopia (green-blind)
#B5C8F9
Tritanopia (blue-blind)
#C4CAD5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdc1fb;
/* rgb */ color: rgb(205, 193, 251);
/* oklch */ color: oklch(84.0% 0.081 294.1);
Tailwind
colors: {
  custom: {
    50: '#ddd3fc',
    500: '#cdc1fb',
    950: '#000000',
  },
}
SCSS
$custom: #cdc1fb;
$custom-light: #ddd3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc1fb",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 251
  },
  "hsl": {
    "h": 252.414,
    "s": 87.879,
    "l": 87.059
  },
  "oklch": {
    "l": 0.84031,
    "c": 0.08103,
    "h": 294.1
  },
  "luminance": 0.58084
}

Semantic roles & 50–950 ramp

primary
#CDC1FB
secondary
#CDE180
accent
#E401B5
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151417
muted
#848385

Preview Lab

Preview with #CDC1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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