#CF84FB#CF84FB

#CF84FB is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.7% C 0.180 H 311.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CF84FB
RGBrgb(207, 132, 251)
HSLhsl(278, 94%, 75%)
HSVhsv(278, 47%, 98%)
CMYKcmyk(17.5%, 47.4%, 0%, 1.6%)
CIE-LABlab(67.08, 49.25, -48.30)
CIE-LCHlch(67.08, 68.98, 315.56°)
OKLaboklab(73.65% 0.1202 -0.1345)
OKLCHoklch(73.65% 0.18 311.8)
XYZxyz(51.3929, 36.7340, 95.6311)
Luminance0.3673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF84FB #B0FB84
analogous
#9384FB #CF84FB #FB84EC
triadic
#CF84FB #FBCF84 #84FBCF
tetradic
#CF84FB #FB9384 #B0FB84 #84ECFB
square
#CF84FB #FB9384 #B0FB84 #84ECFB
split-complementary
#CF84FB #ECFB84 #84FB93
monochromatic
#A10DF7 #B849F9 #CF84FB #E6BFFD #F3E1FE

Accessibility & contrast

On white

2.52
#CF84FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CF84FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF84FB
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF84FB#FFFFFF#000000##000000
##CF84FB1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFF
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#CA97B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf84fb;
/* rgb */ color: rgb(207, 132, 251);
/* oklch */ color: oklch(73.7% 0.180 311.8);
Tailwind
colors: {
  custom: {
    50: '#e0aafd',
    500: '#cf84fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf84fb;
$custom-light: #e0aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf84fb",
  "rgb": {
    "r": 207,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 277.815,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73651,
    "c": 0.18044,
    "h": 311.8
  },
  "luminance": 0.36733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF84FB

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

Preview Lab → · Contrast checker → · Palette generator →

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