#CF5CE2#CF5CE2

#CF5CE2 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.9% C 0.216 H 321.8°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CF5CE2
RGBrgb(207, 92, 226)
HSLhsl(291, 70%, 62%)
HSVhsv(291, 59%, 89%)
CMYKcmyk(8.4%, 59.3%, 0%, 11.4%)
CIE-LABlab(58.43, 63.88, -48.12)
CIE-LCHlch(58.43, 79.97, 323.01°)
OKLaboklab(66.88% 0.1698 -0.1338)
OKLCHoklch(66.88% 0.216 321.8)
XYZxyz(43.2853, 26.4128, 74.7549)
Luminance0.2641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CE2 #6FE25C
analogous
#8C5CE2 #CF5CE2 #E25CB2
triadic
#CF5CE2 #E2CF5C #5CE2CF
tetradic
#CF5CE2 #E28C5C #6FE25C #5CB2E2
square
#CF5CE2 #E28C5C #6FE25C #5CB2E2
split-complementary
#CF5CE2 #B2E25C #5CE28C
monochromatic
#931EA6 #C028D9 #CF5CE2 #DE90EB #EEC4F4

Accessibility & contrast

On white

3.34
#CF5CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CF5CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CE2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CE2#FFFFFF#000000##000000
##CF5CE21.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4084E6
Deuteranopia (green-blind)
#6B91DE
Tritanopia (blue-blind)
#D17097
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5ce2;
/* rgb */ color: rgb(207, 92, 226);
/* oklch */ color: oklch(66.9% 0.216 321.8);
Tailwind
colors: {
  custom: {
    50: '#e190eb',
    500: '#cf5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ce2;
$custom-light: #e190eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ce2",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 291.493,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66881,
    "c": 0.21615,
    "h": 321.8
  },
  "luminance": 0.26411
}

Semantic roles & 50–950 ramp

primary
#CF5CE2
secondary
#BBE5B4
accent
#D2142F
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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