#CF4DFF#CF4DFF

#CF4DFF is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 67.0% C 0.261 H 315.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CF4DFF
RGBrgb(207, 77, 255)
HSLhsl(284, 100%, 65%)
HSVhsv(284, 70%, 100%)
CMYKcmyk(18.8%, 69.8%, 0%, 0%)
CIE-LABlab(57.84, 75.51, -65.21)
CIE-LCHlch(57.84, 99.77, 319.19°)
OKLaboklab(66.99% 0.1854 -0.1836)
OKLCHoklch(66.99% 0.261 315.3)
XYZxyz(46.4331, 25.7948, 97.1213)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4DFF #7DFF4D
analogous
#764DFF #CF4DFF #FF4DD6
triadic
#CF4DFF #FFCF4D #4DFFCF
tetradic
#CF4DFF #FF764D #7DFF4D #4DD6FF
square
#CF4DFF #FF764D #7DFF4D #4DD6FF
split-complementary
#CF4DFF #D6FF4D #4DFF76
monochromatic
#9900D2 #BE10FF #CF4DFF #E08AFF #F0C7FF

Accessibility & contrast

On white

3.41
#CF4DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CF4DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4DFF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4DFF#FFFFFF#000000##000000
##CF4DFF1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#488EFB
Tritanopia (blue-blind)
#CB72A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf4dff;
/* rgb */ color: rgb(207, 77, 255);
/* oklch */ color: oklch(67.0% 0.261 315.3);
Tailwind
colors: {
  custom: {
    50: '#e289ff',
    500: '#cf4dff',
    950: '#000000',
  },
}
SCSS
$custom: #cf4dff;
$custom-light: #e289ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4dff",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 283.82,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66985,
    "c": 0.26093,
    "h": 315.3
  },
  "luminance": 0.25793
}

Semantic roles & 50–950 ramp

primary
#CF4DFF
secondary
#C6F2B6
accent
#E6003E
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CF4DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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