#CD75EC#CD75EC

#CD75EC is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.5% C 0.187 H 316.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CD75EC
RGBrgb(205, 117, 236)
HSLhsl(284, 76%, 69%)
HSVhsv(284, 50%, 93%)
CMYKcmyk(13.1%, 50.4%, 0%, 7.5%)
CIE-LABlab(63.14, 53.34, -46.25)
CIE-LCHlch(63.14, 70.60, 319.07°)
OKLaboklab(70.45% 0.1363 -0.1286)
OKLCHoklch(70.45% 0.187 316.7)
XYZxyz(46.6762, 31.7593, 83.0120)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD75EC #94EC75
analogous
#9275EC #CD75EC #EC75CF
triadic
#CD75EC #ECCD75 #75ECCD
tetradic
#CD75EC #EC9275 #94EC75 #75CFEC
square
#CD75EC #EC9275 #94EC75 #75CFEC
split-complementary
#CD75EC #CFEC75 #75EC92
monochromatic
#9D1CCB #BA3FE5 #CD75EC #E0ABF3 #F4E1FB

Accessibility & contrast

On white

2.86
#CD75EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CD75EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD75EC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD75EC#FFFFFF#000000##000000
##CD75EC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93F0
Deuteranopia (green-blind)
#779CE9
Tritanopia (blue-blind)
#CC87A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd75ec;
/* rgb */ color: rgb(205, 117, 236);
/* oklch */ color: oklch(70.5% 0.187 316.7);
Tailwind
colors: {
  custom: {
    50: '#dea0f2',
    500: '#cd75ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd75ec;
$custom-light: #dea0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd75ec",
  "rgb": {
    "r": 205,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 284.37,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7045,
    "c": 0.18736,
    "h": 316.7
  },
  "luminance": 0.31758
}

Semantic roles & 50–950 ramp

primary
#CD75EC
secondary
#D6F0CD
accent
#D80E42
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD75EC

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

Preview Lab → · Contrast checker → · Palette generator →

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