#CDA2F2#CDA2F2

#CDA2F2 is a light, moderate violet. Relative luminance 0.452; OKLCH L 78.0% C 0.120 H 308.4°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CDA2F2
RGBrgb(205, 162, 242)
HSLhsl(272, 75%, 79%)
HSVhsv(272, 33%, 95%)
CMYKcmyk(15.3%, 33.1%, 0%, 5.1%)
CIE-LABlab(73.04, 30.62, -34.08)
CIE-LCHlch(73.04, 45.81, 311.93°)
OKLaboklab(77.97% 0.0744 -0.0938)
OKLCHoklch(77.97% 0.12 308.4)
XYZxyz(54.1212, 45.2311, 89.8665)
Luminance0.4523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA2F2 #C7F2A2
analogous
#A5A2F2 #CDA2F2 #F2A2EF
triadic
#CDA2F2 #F2CDA2 #A2F2CD
tetradic
#CDA2F2 #F2A5A2 #C7F2A2 #A2EFF2
square
#CDA2F2 #F2A5A2 #C7F2A2 #A2EFF2
split-complementary
#CDA2F2 #EFF2A2 #A2F2A5
monochromatic
#9337E3 #B06CEA #CDA2F2 #EAD8FA #F1E4FB

Accessibility & contrast

On white

2.09
#CDA2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#CDA2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA2F2
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA2F2#FFFFFF#000000##000000
##CDA2F21.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B1F5
Deuteranopia (green-blind)
#9CB4F0
Tritanopia (blue-blind)
#C8ADBF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cda2f2;
/* rgb */ color: rgb(205, 162, 242);
/* oklch */ color: oklch(78.0% 0.120 308.4);
Tailwind
colors: {
  custom: {
    50: '#ddbef6',
    500: '#cda2f2',
    950: '#000000',
  },
}
SCSS
$custom: #cda2f2;
$custom-light: #ddbef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cda2f2",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 272.25,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77973,
    "c": 0.11973,
    "h": 308.4
  },
  "luminance": 0.45231
}

Semantic roles & 50–950 ramp

primary
#CDA2F2
secondary
#E4F3D8
accent
#D80E6B
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CDA2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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