#CDB2F2#CDB2F2

#CDB2F2 is a light, moderate violet. Relative luminance 0.512; OKLCH L 80.9% C 0.093 H 303.7°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CDB2F2
RGBrgb(205, 178, 242)
HSLhsl(265, 71%, 82%)
HSVhsv(265, 26%, 95%)
CMYKcmyk(15.3%, 26.4%, 0%, 5.1%)
CIE-LABlab(76.82, 21.86, -28.27)
CIE-LCHlch(76.82, 35.74, 307.72°)
OKLaboklab(80.86% 0.0516 -0.0774)
OKLCHoklch(80.86% 0.093 303.7)
XYZxyz(57.1211, 51.2308, 90.8665)
Luminance0.5123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB2F2 #D7F2B2
analogous
#B2B7F2 #CDB2F2 #EDB2F2
triadic
#CDB2F2 #F2CDB2 #B2F2CD
tetradic
#CDB2F2 #F2B2B7 #D7F2B2 #B2F2ED
square
#CDB2F2 #F2B2B7 #D7F2B2 #B2F2ED
split-complementary
#CDB2F2 #F2EDB2 #B7F2B2
monochromatic
#8949E0 #AB7EE9 #CDB2F2 #EEE5FB #EEE5FB

Accessibility & contrast

On white

1.87
#CDB2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#CDB2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB2F2
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB2F2#FFFFFF#000000##000000
##CDB2F21.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BDF5
Deuteranopia (green-blind)
#ABBEF0
Tritanopia (blue-blind)
#C7BBC8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdb2f2;
/* rgb */ color: rgb(205, 178, 242);
/* oklch */ color: oklch(80.9% 0.093 303.7);
Tailwind
colors: {
  custom: {
    50: '#ddc9f6',
    500: '#cdb2f2',
    950: '#000000',
  },
}
SCSS
$custom: #cdb2f2;
$custom-light: #ddc9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb2f2",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 242
  },
  "hsl": {
    "h": 265.313,
    "s": 71.111,
    "l": 82.353
  },
  "oklch": {
    "l": 0.80863,
    "c": 0.093,
    "h": 303.7
  },
  "luminance": 0.51231
}

Semantic roles & 50–950 ramp

primary
#CDB2F2
secondary
#ABD177
accent
#D31282
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CDB2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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