#CF54E7#CF54E7

#CF54E7 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.3% C 0.231 H 320.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CF54E7
RGBrgb(207, 84, 231)
HSLhsl(290, 75%, 62%)
HSVhsv(290, 64%, 91%)
CMYKcmyk(10.4%, 63.6%, 0%, 9.4%)
CIE-LABlab(57.44, 68.24, -52.48)
CIE-LCHlch(57.44, 86.09, 322.44°)
OKLaboklab(66.25% 0.1792 -0.1464)
OKLCHoklch(66.25% 0.231 320.7)
XYZxyz(43.3246, 25.3777, 78.2021)
Luminance0.2538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54E7 #6CE754
analogous
#8654E7 #CF54E7 #E754B6
triadic
#CF54E7 #E7CF54 #54E7CF
tetradic
#CF54E7 #E78654 #6CE754 #54B6E7
square
#CF54E7 #E78654 #6CE754 #54B6E7
split-complementary
#CF54E7 #B6E754 #54E786
monochromatic
#9118A9 #BF1FDF #CF54E7 #DE8AEF #EDBFF6

Accessibility & contrast

On white

3.46
#CF54E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CF54E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54E7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54E7#FFFFFF#000000##000000
##CF54E71.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EB
Deuteranopia (green-blind)
#628EE3
Tritanopia (blue-blind)
#D06D96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf54e7;
/* rgb */ color: rgb(207, 84, 231);
/* oklch */ color: oklch(66.3% 0.231 320.7);
Tailwind
colors: {
  custom: {
    50: '#e18cef',
    500: '#cf54e7',
    950: '#000000',
  },
}
SCSS
$custom: #cf54e7;
$custom-light: #e18cef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54e7",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 290.204,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66252,
    "c": 0.23144,
    "h": 320.7
  },
  "luminance": 0.25376
}

Semantic roles & 50–950 ramp

primary
#CF54E7
secondary
#B9E7B0
accent
#D80E2F
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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