#CD7CF0#CD7CF0

#CD7CF0 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.7% C 0.180 H 314.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CD7CF0
RGBrgb(205, 124, 240)
HSLhsl(282, 79%, 71%)
HSVhsv(282, 48%, 94%)
CMYKcmyk(14.6%, 48.3%, 0%, 5.9%)
CIE-LABlab(64.71, 50.57, -45.99)
CIE-LCHlch(64.71, 68.36, 317.72°)
OKLaboklab(71.68% 0.1273 -0.1279)
OKLCHoklch(71.68% 0.18 314.9)
XYZxyz(48.1102, 33.6870, 86.3891)
Luminance0.3369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CF0 #9FF07C
analogous
#937CF0 #CD7CF0 #F07CD9
triadic
#CD7CF0 #F0CD7C #7CF0CD
tetradic
#CD7CF0 #F0937C #9FF07C #7CD9F0
square
#CD7CF0 #F0937C #9FF07C #7CD9F0
split-complementary
#CD7CF0 #D9F07C #7CF093
monochromatic
#9F19D9 #B845EA #CD7CF0 #E2B3F6 #F5E4FC

Accessibility & contrast

On white

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

On black

7.74
#CD7CF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CF0
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CF0#FFFFFF#000000##000000
##CD7CF01.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F4
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#CB8DAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7cf0;
/* rgb */ color: rgb(205, 124, 240);
/* oklch */ color: oklch(71.7% 0.180 314.9);
Tailwind
colors: {
  custom: {
    50: '#dea4f5',
    500: '#cd7cf0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cf0;
$custom-light: #dea4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cf0",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 240
  },
  "hsl": {
    "h": 281.897,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71675,
    "c": 0.18044,
    "h": 314.9
  },
  "luminance": 0.33686
}

Semantic roles & 50–950 ramp

primary
#CD7CF0
secondary
#DEF3D5
accent
#DC0A49
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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