#CDB2FB#CDB2FB

#CDB2FB is a light, moderate violet. Relative luminance 0.518; OKLCH L 81.2% C 0.105 H 301.1°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CDB2FB
RGBrgb(205, 178, 251)
HSLhsl(262, 90%, 84%)
HSVhsv(262, 29%, 98%)
CMYKcmyk(18.3%, 29.1%, 0%, 1.6%)
CIE-LABlab(77.15, 23.81, -32.60)
CIE-LCHlch(77.15, 40.37, 306.14°)
OKLaboklab(81.23% 0.054 -0.0897)
OKLCHoklch(81.23% 0.105 301.1)
XYZxyz(58.5062, 51.7849, 98.1613)
Luminance0.5179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB2FB #E0FBB2
analogous
#B2BCFB #CDB2FB #F2B2FB
triadic
#CDB2FB #FBCDB2 #B2FBCD
tetradic
#CDB2FB #FBB2BC #E0FBB2 #B2FBF2
square
#CDB2FB #FBB2BC #E0FBB2 #B2FBF2
split-complementary
#CDB2FB #FBF2B2 #BCFBB2
monochromatic
#813EF5 #A778F8 #CDB2FB #ECE2FD #ECE2FD

Accessibility & contrast

On white

1.85
#CDB2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CDB2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB2FB
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB2FB#FFFFFF#000000##000000
##CDB2FB1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BEFE
Deuteranopia (green-blind)
#A7BEF9
Tritanopia (blue-blind)
#C5BDCC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdb2fb;
/* rgb */ color: rgb(205, 178, 251);
/* oklch */ color: oklch(81.2% 0.105 301.1);
Tailwind
colors: {
  custom: {
    50: '#ddc9fd',
    500: '#cdb2fb',
    950: '#000000',
  },
}
SCSS
$custom: #cdb2fb;
$custom-light: #ddc9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb2fb",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 251
  },
  "hsl": {
    "h": 262.192,
    "s": 90.123,
    "l": 84.118
  },
  "oklch": {
    "l": 0.8123,
    "c": 0.1047,
    "h": 301.1
  },
  "luminance": 0.51785
}

Semantic roles & 50–950 ramp

primary
#CDB2FB
secondary
#B7DF72
accent
#E60091
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CDB2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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