#CF4EF7#CF4EF7

#CF4EF7 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.6% C 0.253 H 317.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CF4EF7
RGBrgb(207, 78, 247)
HSLhsl(286, 91%, 64%)
HSVhsv(286, 68%, 97%)
CMYKcmyk(16.2%, 68.4%, 0%, 3.1%)
CIE-LABlab(57.49, 73.61, -61.33)
CIE-LCHlch(57.49, 95.82, 320.20°)
OKLaboklab(66.58% 0.185 -0.1723)
OKLCHoklch(66.58% 0.253 317)
XYZxyz(45.2425, 25.4314, 90.5032)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4EF7 #76F74E
analogous
#7A4EF7 #CF4EF7 #F74ECA
triadic
#CF4EF7 #F7CF4E #4EF7CF
tetradic
#CF4EF7 #F77A4E #76F74E #4ECAF7
square
#CF4EF7 #F77A4E #76F74E #4ECAF7
split-complementary
#CF4EF7 #CAF74E #4EF77A
monochromatic
#9609C2 #BF13F4 #CF4EF7 #DF89FA #EFC3FC

Accessibility & contrast

On white

3.45
#CF4EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CF4EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4EF7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4EF7#FFFFFF#000000##000000
##CF4EF71.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#518EF3
Tritanopia (blue-blind)
#CD6F9D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf4ef7;
/* rgb */ color: rgb(207, 78, 247);
/* oklch */ color: oklch(66.6% 0.253 317.0);
Tailwind
colors: {
  custom: {
    50: '#e289fb',
    500: '#cf4ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ef7;
$custom-light: #e289fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ef7",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 285.799,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66582,
    "c": 0.25282,
    "h": 317
  },
  "luminance": 0.2543
}

Semantic roles & 50–950 ramp

primary
#CF4EF7
secondary
#C1EEB3
accent
#E60036
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CF4EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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