#CF84F9#CF84F9

#CF84F9 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.6% C 0.178 H 312.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CF84F9
RGBrgb(207, 132, 249)
HSLhsl(278, 91%, 75%)
HSVhsv(278, 47%, 98%)
CMYKcmyk(16.9%, 47%, 0%, 2.4%)
CIE-LABlab(66.98, 48.83, -47.35)
CIE-LCHlch(66.98, 68.02, 315.88°)
OKLaboklab(73.55% 0.12 -0.1318)
OKLCHoklch(73.55% 0.178 312.3)
XYZxyz(51.0793, 36.6086, 93.9795)
Luminance0.3661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF84F9 #AEF984
analogous
#9584F9 #CF84F9 #F984E8
triadic
#CF84F9 #F9CF84 #84F9CF
tetradic
#CF84F9 #F99584 #AEF984 #84E8F9
square
#CF84F9 #F99584 #AEF984 #84E8F9
split-complementary
#CF84F9 #E8F984 #84F995
monochromatic
#A10FF3 #B84AF6 #CF84F9 #E6BEFC #F4E2FE

Accessibility & contrast

On white

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

On black

8.32
#CF84F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF84F9
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF84F9#FFFFFF#000000##000000
##CF84F91.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#CB96B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf84f9;
/* rgb */ color: rgb(207, 132, 249);
/* oklch */ color: oklch(73.6% 0.178 312.3);
Tailwind
colors: {
  custom: {
    50: '#e0a9fc',
    500: '#cf84f9',
    950: '#000000',
  },
}
SCSS
$custom: #cf84f9;
$custom-light: #e0a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf84f9",
  "rgb": {
    "r": 207,
    "g": 132,
    "b": 249
  },
  "hsl": {
    "h": 278.462,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7355,
    "c": 0.17823,
    "h": 312.3
  },
  "luminance": 0.36607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF84F9

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

Preview Lab → · Contrast checker → · Palette generator →

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