#CD7CF2#CD7CF2

#CD7CF2 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.8% C 0.183 H 314.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CD7CF2
RGBrgb(205, 124, 242)
HSLhsl(281, 82%, 72%)
HSVhsv(281, 49%, 95%)
CMYKcmyk(15.3%, 48.8%, 0%, 5.1%)
CIE-LABlab(64.81, 50.99, -46.94)
CIE-LCHlch(64.81, 69.31, 317.36°)
OKLaboklab(71.78% 0.1276 -0.1306)
OKLCHoklch(71.78% 0.183 314.3)
XYZxyz(48.4089, 33.8065, 87.9624)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CF2 #A1F27C
analogous
#927CF2 #CD7CF2 #F27CDC
triadic
#CD7CF2 #F2CD7C #7CF2CD
tetradic
#CD7CF2 #F2927C #A1F27C #7CDCF2
square
#CD7CF2 #F2927C #A1F27C #7CDCF2
split-complementary
#CD7CF2 #DCF27C #7CF292
monochromatic
#9F16DE #B844EC #CD7CF2 #E2B4F8 #F4E3FC

Accessibility & contrast

On white

2.71
#CD7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CD7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CF2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CF2#FFFFFF#000000##000000
##CD7CF21.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F6
Deuteranopia (green-blind)
#7A9FEF
Tritanopia (blue-blind)
#CA8EAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7cf2;
/* rgb */ color: rgb(205, 124, 242);
/* oklch */ color: oklch(71.8% 0.183 314.3);
Tailwind
colors: {
  custom: {
    50: '#dea4f7',
    500: '#cd7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cf2;
$custom-light: #dea4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cf2",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 281.186,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71777,
    "c": 0.18257,
    "h": 314.3
  },
  "luminance": 0.33805
}

Semantic roles & 50–950 ramp

primary
#CD7CF2
secondary
#DFF4D6
accent
#DE074B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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