#CF81FD#CF81FD

#CF81FD is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.3% C 0.187 H 311.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CF81FD
RGBrgb(207, 129, 253)
HSLhsl(278, 97%, 75%)
HSVhsv(278, 49%, 99%)
CMYKcmyk(18.2%, 49%, 0%, 0.8%)
CIE-LABlab(66.56, 51.24, -50.20)
CIE-LCHlch(66.56, 71.73, 315.59°)
OKLaboklab(73.3% 0.1245 -0.1401)
OKLCHoklch(73.3% 0.187 311.6)
XYZxyz(51.3089, 36.0588, 97.1666)
Luminance0.3606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF81FD #AFFD81
analogous
#9181FD #CF81FD #FD81ED
triadic
#CF81FD #FDCF81 #81FDCF
tetradic
#CF81FD #FD9181 #AFFD81 #81EDFD
square
#CF81FD #FD9181 #AFFD81 #81EDFD
split-complementary
#CF81FD #EDFD81 #81FD91
monochromatic
#A109FB #B845FC #CF81FD #E6BDFE #F4E1FF

Accessibility & contrast

On white

2.56
#CF81FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#CF81FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF81FD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF81FD#FFFFFF#000000##000000
##CF81FD1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#7AA4FA
Tritanopia (blue-blind)
#CA95B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf81fd;
/* rgb */ color: rgb(207, 129, 253);
/* oklch */ color: oklch(73.3% 0.187 311.6);
Tailwind
colors: {
  custom: {
    50: '#e0a8fe',
    500: '#cf81fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf81fd;
$custom-light: #e0a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf81fd",
  "rgb": {
    "r": 207,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 277.742,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73302,
    "c": 0.18738,
    "h": 311.6
  },
  "luminance": 0.36058
}

Semantic roles & 50–950 ramp

primary
#CF81FD
secondary
#E1F7D4
accent
#E60055
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86

Preview Lab

Preview with #CF81FD

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

Preview Lab → · Contrast checker → · Palette generator →

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