#CDB2FA#CDB2FA

#CDB2FA is a light, moderate violet. Relative luminance 0.517; OKLCH L 81.2% C 0.103 H 301.3°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CDB2FA
RGBrgb(205, 178, 250)
HSLhsl(263, 88%, 84%)
HSVhsv(263, 29%, 98%)
CMYKcmyk(18%, 28.8%, 0%, 2%)
CIE-LABlab(77.11, 23.59, -32.12)
CIE-LCHlch(77.11, 39.85, 306.30°)
OKLaboklab(81.19% 0.0538 -0.0883)
OKLCHoklch(81.19% 0.103 301.3)
XYZxyz(58.3490, 51.7220, 97.3333)
Luminance0.5172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB2FA #DFFAB2
analogous
#B2BBFA #CDB2FA #F1B2FA
triadic
#CDB2FA #FACDB2 #B2FACD
tetradic
#CDB2FA #FAB2BB #DFFAB2 #B2FAF1
square
#CDB2FA #FAB2BB #DFFAB2 #B2FAF1
split-complementary
#CDB2FA #FAF1B2 #BBFAB2
monochromatic
#823FF3 #A879F6 #CDB2FA #ECE2FD #ECE2FD

Accessibility & contrast

On white

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

On black

11.34
#CDB2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB2FA
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB2FA#FFFFFF#000000##000000
##CDB2FA1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb2fa;
/* rgb */ color: rgb(205, 178, 250);
/* oklch */ color: oklch(81.2% 0.103 301.3);
Tailwind
colors: {
  custom: {
    50: '#ddc9fc',
    500: '#cdb2fa',
    950: '#000000',
  },
}
SCSS
$custom: #cdb2fa;
$custom-light: #ddc9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb2fa",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 250
  },
  "hsl": {
    "h": 262.5,
    "s": 87.805,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81188,
    "c": 0.1034,
    "h": 301.3
  },
  "luminance": 0.51722
}

Semantic roles & 50–950 ramp

primary
#CDB2FA
secondary
#B5DE73
accent
#E4018F
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CDB2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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