#CD7BEC#CD7BEC

#CD7BEC is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.3% C 0.178 H 316.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CD7BEC
RGBrgb(205, 123, 236)
HSLhsl(284, 75%, 70%)
HSVhsv(284, 48%, 93%)
CMYKcmyk(13.1%, 47.9%, 0%, 7.5%)
CIE-LABlab(64.32, 50.27, -44.39)
CIE-LCHlch(64.32, 67.07, 318.55°)
OKLaboklab(71.33% 0.1282 -0.1232)
OKLCHoklch(71.33% 0.178 316.1)
XYZxyz(47.3978, 33.2026, 83.2526)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BEC #9AEC7B
analogous
#947BEC #CD7BEC #EC7BD2
triadic
#CD7BEC #ECCD7B #7BECCD
tetradic
#CD7BEC #EC947B #9AEC7B #7BD2EC
square
#CD7BEC #EC947B #9AEC7B #7BD2EC
split-complementary
#CD7BEC #D2EC7B #7BEC94
monochromatic
#9E1ECF #B946E4 #CD7BEC #E1B0F4 #F5E4FB

Accessibility & contrast

On white

2.75
#CD7BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#CD7BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BEC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BEC#FFFFFF#000000##000000
##CD7BEC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#7D9EE9
Tritanopia (blue-blind)
#CC8CA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7bec;
/* rgb */ color: rgb(205, 123, 236);
/* oklch */ color: oklch(71.3% 0.178 316.1);
Tailwind
colors: {
  custom: {
    50: '#dea3f2',
    500: '#cd7bec',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bec;
$custom-light: #dea3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bec",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 283.54,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71325,
    "c": 0.17779,
    "h": 316.1
  },
  "luminance": 0.33201
}

Semantic roles & 50–950 ramp

primary
#CD7BEC
secondary
#DAF1D2
accent
#D70F46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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