#CF4CE7#CF4CE7

#CF4CE7 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.4% C 0.241 H 321.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CF4CE7
RGBrgb(207, 76, 231)
HSLhsl(291, 76%, 60%)
HSVhsv(291, 67%, 91%)
CMYKcmyk(10.4%, 67.1%, 0%, 9.4%)
CIE-LABlab(56.29, 71.45, -54.32)
CIE-LCHlch(56.29, 89.75, 322.76°)
OKLaboklab(65.43% 0.1878 -0.1517)
OKLCHoklch(65.43% 0.241 321.1)
XYZxyz(42.7387, 24.2060, 78.0068)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4CE7 #64E74C
analogous
#824CE7 #CF4CE7 #E74CB1
triadic
#CF4CE7 #E7CF4C #4CE7CF
tetradic
#CF4CE7 #E7824C #64E74C #4CB1E7
square
#CF4CE7 #E7824C #64E74C #4CB1E7
split-complementary
#CF4CE7 #B1E74C #4CE782
monochromatic
#8D16A3 #BC1DD9 #CF4CE7 #DD82EE #ECB8F5

Accessibility & contrast

On white

3.60
#CF4CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CF4CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4CE7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4CE7#FFFFFF#000000##000000
##CF4CE71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#157EEB
Deuteranopia (green-blind)
#5D8CE3
Tritanopia (blue-blind)
#D16794
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf4ce7;
/* rgb */ color: rgb(207, 76, 231);
/* oklch */ color: oklch(65.4% 0.241 321.1);
Tailwind
colors: {
  custom: {
    50: '#e188ef',
    500: '#cf4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ce7;
$custom-light: #e188ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ce7",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 290.71,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65426,
    "c": 0.24146,
    "h": 321.1
  },
  "luminance": 0.24204
}

Semantic roles & 50–950 ramp

primary
#CF4CE7
secondary
#B3E5AA
accent
#D90D2C
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CF4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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