#CDC2F8#CDC2F8

#CDC2F8 is a very light, moderate violet. Relative luminance 0.583; OKLCH L 84.1% C 0.075 H 294.1°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CDC2F8
RGBrgb(205, 194, 248)
HSLhsl(252, 79%, 87%)
HSVhsv(252, 22%, 97%)
CMYKcmyk(17.3%, 21.8%, 0%, 2.7%)
CIE-LABlab(80.93, 14.46, -25.20)
CIE-LCHlch(80.93, 29.06, 299.84°)
OKLaboklab(84.11% 0.0307 -0.0689)
OKLCHoklch(84.11% 0.075 294.1)
XYZxyz(61.4082, 58.3395, 96.8142)
Luminance0.5834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC2F8 #EDF8C2
analogous
#C2D2F8 #CDC2F8 #E8C2F8
triadic
#CDC2F8 #F8CDC2 #C2F8CD
tetradic
#CDC2F8 #F8C2D2 #EDF8C2 #C2F8E8
square
#CDC2F8 #F8C2D2 #EDF8C2 #C2F8E8
split-complementary
#CDC2F8 #F8E8C2 #D2F8C2
monochromatic
#7354EB #A08BF2 #CDC2F8 #E8E4FC #E8E4FC

Accessibility & contrast

On white

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

On black

12.67
#CDC2F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC2F8
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC2F8#FFFFFF#000000##000000
##CDC2F81.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6C9FA
Deuteranopia (green-blind)
#B7C8F6
Tritanopia (blue-blind)
#C5CAD4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdc2f8;
/* rgb */ color: rgb(205, 194, 248);
/* oklch */ color: oklch(84.1% 0.075 294.1);
Tailwind
colors: {
  custom: {
    50: '#dcd4fa',
    500: '#cdc2f8',
    950: '#000000',
  },
}
SCSS
$custom: #cdc2f8;
$custom-light: #dcd4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc2f8",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 248
  },
  "hsl": {
    "h": 252.222,
    "s": 79.412,
    "l": 86.667
  },
  "oklch": {
    "l": 0.84106,
    "c": 0.07542,
    "h": 294.1
  },
  "luminance": 0.5834
}

Semantic roles & 50–950 ramp

primary
#CDC2F8
secondary
#C9DC83
accent
#DC0AB1
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151417
muted
#848385

Preview Lab

Preview with #CDC2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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