#CF84FF#CF84FF

#CF84FF is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.9% C 0.185 H 310.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CF84FF
RGBrgb(207, 132, 255)
HSLhsl(277, 100%, 76%)
HSVhsv(277, 48%, 100%)
CMYKcmyk(18.8%, 48.2%, 0%, 0%)
CIE-LABlab(67.27, 50.10, -50.18)
CIE-LCHlch(67.27, 70.91, 314.95°)
OKLaboklab(73.86% 0.1207 -0.14)
OKLCHoklch(73.86% 0.185 310.8)
XYZxyz(52.0301, 36.9889, 98.9870)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF84FF #B4FF84
analogous
#9184FF #CF84FF #FF84F2
triadic
#CF84FF #FFCF84 #84FFCF
tetradic
#CF84FF #FF9184 #B4FF84 #84F2FF
square
#CF84FF #FF9184 #B4FF84 #84F2FF
split-complementary
#CF84FF #F2FF84 #84FF91
monochromatic
#9F0AFF #B747FF #CF84FF #E7C1FF #F3E0FF

Accessibility & contrast

On white

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

On black

8.40
#CF84FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF84FF
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF84FF#FFFFFF#000000##000000
##CF84FF1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#7CA5FC
Tritanopia (blue-blind)
#C998B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf84ff;
/* rgb */ color: rgb(207, 132, 255);
/* oklch */ color: oklch(73.9% 0.185 310.8);
Tailwind
colors: {
  custom: {
    50: '#e0aaff',
    500: '#cf84ff',
    950: '#000000',
  },
}
SCSS
$custom: #cf84ff;
$custom-light: #e0aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf84ff",
  "rgb": {
    "r": 207,
    "g": 132,
    "b": 255
  },
  "hsl": {
    "h": 276.585,
    "s": 100,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73856,
    "c": 0.18487,
    "h": 310.8
  },
  "luminance": 0.36988
}

Semantic roles & 50–950 ramp

primary
#CF84FF
secondary
#E2F7D4
accent
#E6005A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86

Preview Lab

Preview with #CF84FF

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

Preview Lab → · Contrast checker → · Palette generator →

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