#CF84FC#CF84FC

#CF84FC is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.7% C 0.182 H 311.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CF84FC
RGBrgb(207, 132, 252)
HSLhsl(278, 95%, 75%)
HSVhsv(278, 48%, 99%)
CMYKcmyk(17.9%, 47.6%, 0%, 1.2%)
CIE-LABlab(67.12, 49.46, -48.77)
CIE-LCHlch(67.12, 69.46, 315.40°)
OKLaboklab(73.7% 0.1204 -0.1359)
OKLCHoklch(73.7% 0.182 311.5)
XYZxyz(51.5510, 36.7972, 96.4635)
Luminance0.3680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF84FC #B1FC84
analogous
#9384FC #CF84FC #FC84ED
triadic
#CF84FC #FCCF84 #84FCCF
tetradic
#CF84FC #FC9384 #B1FC84 #84EDFC
square
#CF84FC #FC9384 #B1FC84 #84EDFC
split-complementary
#CF84FC #EDFC84 #84FC93
monochromatic
#A00DF9 #B848FB #CF84FC #E6C0FD #F3E1FE

Accessibility & contrast

On white

2.51
#CF84FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#CF84FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF84FC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF84FC#FFFFFF#000000##000000
##CF84FC1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#CA97B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf84fc;
/* rgb */ color: rgb(207, 132, 252);
/* oklch */ color: oklch(73.7% 0.182 311.5);
Tailwind
colors: {
  custom: {
    50: '#e0aafe',
    500: '#cf84fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf84fc;
$custom-light: #e0aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf84fc",
  "rgb": {
    "r": 207,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 277.5,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73702,
    "c": 0.18155,
    "h": 311.5
  },
  "luminance": 0.36796
}

Semantic roles & 50–950 ramp

primary
#CF84FC
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF84FC

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

Preview Lab → · Contrast checker → · Palette generator →

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