#CDB6FA#CDB6FA

#CDB6FA is a light, moderate violet. Relative luminance 0.533; OKLCH L 81.9% C 0.097 H 299.8°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CDB6FA
RGBrgb(205, 182, 250)
HSLhsl(260, 87%, 85%)
HSVhsv(260, 27%, 98%)
CMYKcmyk(18%, 27.2%, 0%, 2%)
CIE-LABlab(78.07, 21.41, -30.64)
CIE-LCHlch(78.07, 37.38, 304.94°)
OKLaboklab(81.93% 0.0482 -0.0841)
OKLCHoklch(81.93% 0.097 299.8)
XYZxyz(59.1565, 53.3370, 97.6025)
Luminance0.5334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB6FA #E3FAB6
analogous
#B6C1FA #CDB6FA #EFB6FA
triadic
#CDB6FA #FACDB6 #B6FACD
tetradic
#CDB6FA #FAB6C1 #E3FAB6 #B6FAEF
square
#CDB6FA #FAB6C1 #E3FAB6 #B6FAEF
split-complementary
#CDB6FA #FAEFB6 #C1FAB6
monochromatic
#7F43F2 #A67DF6 #CDB6FA #EBE2FD #EBE2FD

Accessibility & contrast

On white

1.80
#CDB6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CDB6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB6FA
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB6FA#FFFFFF#000000##000000
##CDB6FA1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C1FD
Deuteranopia (green-blind)
#ABC1F8
Tritanopia (blue-blind)
#C5C0CE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdb6fa;
/* rgb */ color: rgb(205, 182, 250);
/* oklch */ color: oklch(81.9% 0.097 299.8);
Tailwind
colors: {
  custom: {
    50: '#ddccfc',
    500: '#cdb6fa',
    950: '#000000',
  },
}
SCSS
$custom: #cdb6fa;
$custom-light: #ddccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb6fa",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 250
  },
  "hsl": {
    "h": 260.294,
    "s": 87.179,
    "l": 84.706
  },
  "oklch": {
    "l": 0.81926,
    "c": 0.09695,
    "h": 299.8
  },
  "luminance": 0.53337
}

Semantic roles & 50–950 ramp

primary
#CDB6FA
secondary
#BBDE76
accent
#E40297
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CDB6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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