#CF84F8#CF84F8

#CF84F8 is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.5% C 0.177 H 312.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CF84F8
RGBrgb(207, 132, 248)
HSLhsl(279, 89%, 75%)
HSVhsv(279, 47%, 97%)
CMYKcmyk(16.5%, 46.8%, 0%, 2.7%)
CIE-LABlab(66.94, 48.62, -46.88)
CIE-LCHlch(66.94, 67.54, 316.04°)
OKLaboklab(73.5% 0.1198 -0.1304)
OKLCHoklch(73.5% 0.177 312.6)
XYZxyz(50.9238, 36.5463, 93.1603)
Luminance0.3654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF84F8 #ADF884
analogous
#9584F8 #CF84F8 #F884E7
triadic
#CF84F8 #F8CF84 #84F8CF
tetradic
#CF84F8 #F89584 #ADF884 #84E7F8
square
#CF84F8 #F89584 #ADF884 #84E7F8
split-complementary
#CF84F8 #E7F884 #84F895
monochromatic
#A210F1 #B84AF5 #CF84F8 #E6BEFB #F4E2FD

Accessibility & contrast

On white

2.53
#CF84F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#CF84F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF84F8
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF84F8#FFFFFF#000000##000000
##CF84F81.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#7FA5F5
Tritanopia (blue-blind)
#CB96B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf84f8;
/* rgb */ color: rgb(207, 132, 248);
/* oklch */ color: oklch(73.5% 0.177 312.6);
Tailwind
colors: {
  custom: {
    50: '#e0a9fb',
    500: '#cf84f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf84f8;
$custom-light: #e0a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf84f8",
  "rgb": {
    "r": 207,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 278.793,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.735,
    "c": 0.17713,
    "h": 312.6
  },
  "luminance": 0.36545
}

Semantic roles & 50–950 ramp

primary
#CF84F8
secondary
#E1F5D6
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF84F8

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

Preview Lab → · Contrast checker → · Palette generator →

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