#CD7EF3#CD7EF3

#CD7EF3 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.1% C 0.180 H 313.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CD7EF3
RGBrgb(205, 126, 243)
HSLhsl(281, 83%, 72%)
HSVhsv(281, 48%, 95%)
CMYKcmyk(15.6%, 48.1%, 0%, 4.7%)
CIE-LABlab(65.26, 50.16, -46.79)
CIE-LCHlch(65.26, 68.59, 316.99°)
OKLaboklab(72.13% 0.125 -0.1302)
OKLCHoklch(72.13% 0.18 313.8)
XYZxyz(48.8127, 34.3731, 88.8400)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EF3 #A4F37E
analogous
#937EF3 #CD7EF3 #F37EDE
triadic
#CD7EF3 #F3CD7E #7EF3CD
tetradic
#CD7EF3 #F3937E #A4F37E #7EDEF3
square
#CD7EF3 #F3937E #A4F37E #7EDEF3
split-complementary
#CD7EF3 #DEF37E #7EF393
monochromatic
#9F15E2 #B746EE #CD7EF3 #E3B6F8 #F4E3FC

Accessibility & contrast

On white

2.67
#CD7EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CD7EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EF3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EF3#FFFFFF#000000##000000
##CD7EF31.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#7BA0F0
Tritanopia (blue-blind)
#CA90AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7ef3;
/* rgb */ color: rgb(205, 126, 243);
/* oklch */ color: oklch(72.1% 0.180 313.8);
Tailwind
colors: {
  custom: {
    50: '#dea5f7',
    500: '#cd7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ef3;
$custom-light: #dea5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ef3",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 280.513,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72126,
    "c": 0.18047,
    "h": 313.8
  },
  "luminance": 0.34372
}

Semantic roles & 50–950 ramp

primary
#CD7EF3
secondary
#E0F4D7
accent
#DF064D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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