#CD6BFE#CD6BFE

#CD6BFE is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.1% C 0.221 H 312.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CD6BFE
RGBrgb(205, 107, 254)
HSLhsl(280, 99%, 71%)
HSVhsv(280, 58%, 100%)
CMYKcmyk(19.3%, 57.9%, 0%, 0.4%)
CIE-LABlab(62.21, 61.93, -57.67)
CIE-LCHlch(62.21, 84.63, 317.04°)
OKLaboklab(70.07% 0.1502 -0.1618)
OKLCHoklch(70.07% 0.221 312.9)
XYZxyz(48.3208, 30.6516, 97.1176)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6BFE #9CFE6B
analogous
#836BFE #CD6BFE #FE6BE5
triadic
#CD6BFE #FECD6B #6BFECD
tetradic
#CD6BFE #FE836B #9CFE6B #6BE5FE
square
#CD6BFE #FE836B #9CFE6B #6BE5FE
split-complementary
#CD6BFE #E5FE6B #6BFE83
monochromatic
#9F02ED #B82EFE #CD6BFE #E2A8FE #F5E1FF

Accessibility & contrast

On white

2.95
#CD6BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CD6BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6BFE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6BFE#FFFFFF#000000##000000
##CD6BFE1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#6399FA
Tritanopia (blue-blind)
#C885AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd6bfe;
/* rgb */ color: rgb(205, 107, 254);
/* oklch */ color: oklch(70.1% 0.221 312.9);
Tailwind
colors: {
  custom: {
    50: '#df9aff',
    500: '#cd6bfe',
    950: '#000000',
  },
}
SCSS
$custom: #cd6bfe;
$custom-light: #df9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6bfe",
  "rgb": {
    "r": 205,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 280,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70065,
    "c": 0.22076,
    "h": 312.9
  },
  "luminance": 0.3065
}

Semantic roles & 50–950 ramp

primary
#CD6BFE
secondary
#DCF6CF
accent
#E6004C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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