#CF84F7#CF84F7

#CF84F7 is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.4% C 0.176 H 312.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CF84F7
RGBrgb(207, 132, 247)
HSLhsl(279, 88%, 74%)
HSVhsv(279, 47%, 97%)
CMYKcmyk(16.2%, 46.6%, 0%, 3.1%)
CIE-LABlab(66.89, 48.41, -46.40)
CIE-LCHlch(66.89, 67.06, 316.21°)
OKLaboklab(73.45% 0.1197 -0.129)
OKLCHoklch(73.45% 0.176 312.8)
XYZxyz(50.7690, 36.4844, 92.3454)
Luminance0.3648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF84F7 #ACF784
analogous
#9684F7 #CF84F7 #F784E6
triadic
#CF84F7 #F7CF84 #84F7CF
tetradic
#CF84F7 #F79684 #ACF784 #84E6F7
square
#CF84F7 #F79684 #ACF784 #84E6F7
split-complementary
#CF84F7 #E6F784 #84F796
monochromatic
#A211F0 #B94BF3 #CF84F7 #E5BDFB #F4E2FD

Accessibility & contrast

On white

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

On black

8.30
#CF84F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF84F7
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF84F7#FFFFFF#000000##000000
##CF84F71.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#CB96B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf84f7;
/* rgb */ color: rgb(207, 132, 247);
/* oklch */ color: oklch(73.4% 0.176 312.8);
Tailwind
colors: {
  custom: {
    50: '#e0a9fa',
    500: '#cf84f7',
    950: '#000000',
  },
}
SCSS
$custom: #cf84f7;
$custom-light: #e0a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf84f7",
  "rgb": {
    "r": 207,
    "g": 132,
    "b": 247
  },
  "hsl": {
    "h": 279.13,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73449,
    "c": 0.17602,
    "h": 312.8
  },
  "luminance": 0.36483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF84F7

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

Preview Lab → · Contrast checker → · Palette generator →

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