#CF5FDC#CF5FDC

#CF5FDC is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 66.9% C 0.206 H 323.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CF5FDC
RGBrgb(207, 95, 220)
HSLhsl(294, 64%, 62%)
HSVhsv(294, 57%, 86%)
CMYKcmyk(5.9%, 56.8%, 0%, 13.7%)
CIE-LABlab(58.62, 61.43, -44.44)
CIE-LCHlch(58.62, 75.81, 324.12°)
OKLaboklab(66.92% 0.1657 -0.1231)
OKLCHoklch(66.92% 0.206 323.4)
XYZxyz(42.7414, 26.6193, 70.5830)
Luminance0.2662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FDC #6CDC5F
analogous
#915FDC #CF5FDC #DC5FAB
triadic
#CF5FDC #DCCF5F #5FDCCF
tetradic
#CF5FDC #DC915F #6CDC5F #5FABDC
square
#CF5FDC #DC915F #6CDC5F #5FABDC
split-complementary
#CF5FDC #ABDC5F #5FDC91
monochromatic
#91239E #BF2ED0 #CF5FDC #DE91E7 #EDC3F2

Accessibility & contrast

On white

3.32
#CF5FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CF5FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FDC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FDC#FFFFFF#000000##000000
##CF5FDC1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#7192D9
Tritanopia (blue-blind)
#D27095
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5fdc;
/* rgb */ color: rgb(207, 95, 220);
/* oklch */ color: oklch(66.9% 0.206 323.4);
Tailwind
colors: {
  custom: {
    50: '#e092e7',
    500: '#cf5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fdc;
$custom-light: #e092e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fdc",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 293.76,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66923,
    "c": 0.20645,
    "h": 323.4
  },
  "luminance": 0.26617
}

Semantic roles & 50–950 ramp

primary
#CF5FDC
secondary
#B9E3B4
accent
#CC1A2C
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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