#CF84F2#CF84F2

#CF84F2 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.2% C 0.171 H 314.2°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CF84F2
RGBrgb(207, 132, 242)
HSLhsl(281, 81%, 73%)
HSVhsv(281, 45%, 95%)
CMYKcmyk(14.5%, 45.5%, 0%, 5.1%)
CIE-LABlab(66.66, 47.37, -44.02)
CIE-LCHlch(66.66, 64.66, 317.10°)
OKLaboklab(73.2% 0.119 -0.1222)
OKLCHoklch(73.2% 0.171 314.2)
XYZxyz(50.0078, 36.1800, 88.3363)
Luminance0.3618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF84F2 #A7F284
analogous
#9884F2 #CF84F2 #F284DE
triadic
#CF84F2 #F2CF84 #84F2CF
tetradic
#CF84F2 #F29884 #A7F284 #84DEF2
square
#CF84F2 #F29884 #A7F284 #84DEF2
split-complementary
#CF84F2 #DEF284 #84F298
monochromatic
#A318E4 #B94DEC #CF84F2 #E5BBF8 #F4E3FC

Accessibility & contrast

On white

2.55
#CF84F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#CF84F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF84F2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF84F2#FFFFFF#000000##000000
##CF84F21.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#83A4EF
Tritanopia (blue-blind)
#CC94B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf84f2;
/* rgb */ color: rgb(207, 132, 242);
/* oklch */ color: oklch(73.2% 0.171 314.2);
Tailwind
colors: {
  custom: {
    50: '#dfa9f7',
    500: '#cf84f2',
    950: '#000000',
  },
}
SCSS
$custom: #cf84f2;
$custom-light: #dfa9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf84f2",
  "rgb": {
    "r": 207,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 280.909,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73202,
    "c": 0.17054,
    "h": 314.2
  },
  "luminance": 0.36179
}

Semantic roles & 50–950 ramp

primary
#CF84F2
secondary
#E0F4D7
accent
#DD084C
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CF84F2

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

Preview Lab → · Contrast checker → · Palette generator →

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