#CD7EF0#CD7EF0

#CD7EF0 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.177 H 314.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CD7EF0
RGBrgb(205, 126, 240)
HSLhsl(282, 79%, 72%)
HSVhsv(282, 48%, 94%)
CMYKcmyk(14.6%, 47.5%, 0%, 5.9%)
CIE-LABlab(65.12, 49.54, -45.36)
CIE-LCHlch(65.12, 67.17, 317.52°)
OKLaboklab(71.97% 0.1246 -0.126)
OKLCHoklch(71.97% 0.177 314.7)
XYZxyz(48.3634, 34.1934, 86.4735)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EF0 #A1F07E
analogous
#947EF0 #CD7EF0 #F07EDA
triadic
#CD7EF0 #F0CD7E #7EF0CD
tetradic
#CD7EF0 #F0947E #A1F07E #7EDAF0
square
#CD7EF0 #F0947E #A1F07E #7EDAF0
split-complementary
#CD7EF0 #DAF07E #7EF094
monochromatic
#9F19DA #B847EA #CD7EF0 #E2B5F6 #F4E4FC

Accessibility & contrast

On white

2.68
#CD7EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CD7EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EF0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EF0#FFFFFF#000000##000000
##CD7EF01.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#CB8FAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7ef0;
/* rgb */ color: rgb(205, 126, 240);
/* oklch */ color: oklch(72.0% 0.177 314.7);
Tailwind
colors: {
  custom: {
    50: '#dea5f5',
    500: '#cd7ef0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ef0;
$custom-light: #dea5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ef0",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 281.579,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71974,
    "c": 0.17723,
    "h": 314.7
  },
  "luminance": 0.34192
}

Semantic roles & 50–950 ramp

primary
#CD7EF0
secondary
#DFF3D6
accent
#DB0A4A
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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