#CD5EFA#CD5EFA

#CD5EFA is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.2% C 0.235 H 314.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#CD5EFA
RGBrgb(205, 94, 250)
HSLhsl(283, 94%, 67%)
HSVhsv(283, 62%, 98%)
CMYKcmyk(18%, 62.4%, 0%, 2%)
CIE-LABlab(59.79, 67.12, -59.34)
CIE-LCHlch(59.79, 89.59, 318.52°)
OKLaboklab(68.23% 0.1655 -0.1666)
OKLCHoklch(68.23% 0.235 314.8)
XYZxyz(46.4321, 27.8882, 93.3610)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EFA #8BFA5E
analogous
#7F5EFA #CD5EFA #FA5ED9
triadic
#CD5EFA #FACD5E #5EFACD
tetradic
#CD5EFA #FA7F5E #8BFA5E #5ED9FA
square
#CD5EFA #FA7F5E #8BFA5E #5ED9FA
split-complementary
#CD5EFA #D9FA5E #5EFA7F
monochromatic
#9B07D7 #BB23F8 #CD5EFA #DF99FC #F2D5FE

Accessibility & contrast

On white

3.19
#CD5EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#CD5EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EFA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EFA#FFFFFF#000000##000000
##CD5EFA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#218AFF
Deuteranopia (green-blind)
#5A93F6
Tritanopia (blue-blind)
#C97BA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd5efa;
/* rgb */ color: rgb(205, 94, 250);
/* oklch */ color: oklch(68.2% 0.235 314.8);
Tailwind
colors: {
  custom: {
    50: '#e092fd',
    500: '#cd5efa',
    950: '#000000',
  },
}
SCSS
$custom: #cd5efa;
$custom-light: #e092fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5efa",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 250
  },
  "hsl": {
    "h": 282.692,
    "s": 93.976,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68233,
    "c": 0.2348,
    "h": 314.8
  },
  "luminance": 0.27887
}

Semantic roles & 50–950 ramp

primary
#CD5EFA
secondary
#D0F2C1
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD5EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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