#CDB3FA#CDB3FA

#CDB3FA is a light, moderate violet. Relative luminance 0.521; OKLCH L 81.4% C 0.102 H 301.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CDB3FA
RGBrgb(205, 179, 250)
HSLhsl(262, 88%, 84%)
HSVhsv(262, 28%, 98%)
CMYKcmyk(18%, 28.4%, 0%, 2%)
CIE-LABlab(77.35, 23.05, -31.75)
CIE-LCHlch(77.35, 39.23, 305.97°)
OKLaboklab(81.37% 0.0524 -0.0873)
OKLCHoklch(81.37% 0.102 301)
XYZxyz(58.5486, 52.1214, 97.3999)
Luminance0.5212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB3FA #E0FAB3
analogous
#B3BDFA #CDB3FA #F1B3FA
triadic
#CDB3FA #FACDB3 #B3FACD
tetradic
#CDB3FA #FAB3BD #E0FAB3 #B3FAF1
square
#CDB3FA #FAB3BD #E0FAB3 #B3FAF1
split-complementary
#CDB3FA #FAF1B3 #BDFAB3
monochromatic
#8140F2 #A77AF6 #CDB3FA #ECE2FD #ECE2FD

Accessibility & contrast

On white

1.84
#CDB3FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CDB3FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB3FA
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB3FA#FFFFFF#000000##000000
##CDB3FA1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BFFD
Deuteranopia (green-blind)
#A9BFF8
Tritanopia (blue-blind)
#C5BECC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdb3fa;
/* rgb */ color: rgb(205, 179, 250);
/* oklch */ color: oklch(81.4% 0.102 301.0);
Tailwind
colors: {
  custom: {
    50: '#ddc9fc',
    500: '#cdb3fa',
    950: '#000000',
  },
}
SCSS
$custom: #cdb3fa;
$custom-light: #ddc9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb3fa",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 250
  },
  "hsl": {
    "h": 261.972,
    "s": 87.654,
    "l": 84.118
  },
  "oklch": {
    "l": 0.81372,
    "c": 0.10178,
    "h": 301
  },
  "luminance": 0.52121
}

Semantic roles & 50–950 ramp

primary
#CDB3FA
secondary
#B7DE74
accent
#E40191
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CDB3FA

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

Preview Lab → · Contrast checker → · Palette generator →

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