#CF84FE#CF84FE

#CF84FE is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.8% C 0.184 H 311.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CF84FE
RGBrgb(207, 132, 254)
HSLhsl(277, 98%, 76%)
HSVhsv(277, 48%, 100%)
CMYKcmyk(18.5%, 48%, 0%, 0.4%)
CIE-LABlab(67.22, 49.89, -49.71)
CIE-LCHlch(67.22, 70.43, 315.10°)
OKLaboklab(73.8% 0.1206 -0.1386)
OKLCHoklch(73.8% 0.184 311)
XYZxyz(51.8696, 36.9247, 98.1414)
Luminance0.3692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF84FE #B3FE84
analogous
#9284FE #CF84FE #FE84F0
triadic
#CF84FE #FECF84 #84FECF
tetradic
#CF84FE #FE9284 #B3FE84 #84F0FE
square
#CF84FE #FE9284 #B3FE84 #84F0FE
split-complementary
#CF84FE #F0FE84 #84FE92
monochromatic
#A00BFD #B747FE #CF84FE #E7C1FE #F3E1FF

Accessibility & contrast

On white

2.50
#CF84FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#CF84FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF84FE
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF84FE#FFFFFF#000000##000000
##CF84FE1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#CA98B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf84fe;
/* rgb */ color: rgb(207, 132, 254);
/* oklch */ color: oklch(73.8% 0.184 311.0);
Tailwind
colors: {
  custom: {
    50: '#e0aaff',
    500: '#cf84fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf84fe;
$custom-light: #e0aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf84fe",
  "rgb": {
    "r": 207,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 276.885,
    "s": 98.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73805,
    "c": 0.18376,
    "h": 311
  },
  "luminance": 0.36924
}

Semantic roles & 50–950 ramp

primary
#CF84FE
secondary
#E1F7D4
accent
#E60058
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86

Preview Lab

Preview with #CF84FE

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

Preview Lab → · Contrast checker → · Palette generator →

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