#CF84FA#CF84FA

#CF84FA is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.6% C 0.179 H 312.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CF84FA
RGBrgb(207, 132, 250)
HSLhsl(278, 92%, 75%)
HSVhsv(278, 47%, 98%)
CMYKcmyk(17.2%, 47.2%, 0%, 2%)
CIE-LABlab(67.03, 49.04, -47.82)
CIE-LCHlch(67.03, 68.50, 315.72°)
OKLaboklab(73.6% 0.1201 -0.1332)
OKLCHoklch(73.6% 0.179 312)
XYZxyz(51.2357, 36.6711, 94.8031)
Luminance0.3667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF84FA #AFFA84
analogous
#9484FA #CF84FA #FA84EA
triadic
#CF84FA #FACF84 #84FACF
tetradic
#CF84FA #FA9484 #AFFA84 #84EAFA
square
#CF84FA #FA9484 #AFFA84 #84EAFA
split-complementary
#CF84FA #EAFA84 #84FA94
monochromatic
#A10EF5 #B849F8 #CF84FA #E6BFFC #F4E2FE

Accessibility & contrast

On white

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

On black

8.33
#CF84FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF84FA
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF84FA#FFFFFF#000000##000000
##CF84FA1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#CB96B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf84fa;
/* rgb */ color: rgb(207, 132, 250);
/* oklch */ color: oklch(73.6% 0.179 312.0);
Tailwind
colors: {
  custom: {
    50: '#e0a9fc',
    500: '#cf84fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf84fa;
$custom-light: #e0a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf84fa",
  "rgb": {
    "r": 207,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 278.136,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73601,
    "c": 0.17933,
    "h": 312
  },
  "luminance": 0.3667
}

Semantic roles & 50–950 ramp

primary
#CF84FA
secondary
#E1F6D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF84FA

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

Preview Lab → · Contrast checker → · Palette generator →

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