#CF81FF#CF81FF

#CF81FF is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.4% C 0.190 H 311.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CF81FF
RGBrgb(207, 129, 255)
HSLhsl(277, 100%, 75%)
HSVhsv(277, 49%, 100%)
CMYKcmyk(18.8%, 49.4%, 0%, 0%)
CIE-LABlab(66.66, 51.66, -51.14)
CIE-LCHlch(66.66, 72.69, 315.29°)
OKLaboklab(73.41% 0.1247 -0.1428)
OKLCHoklch(73.41% 0.19 311.1)
XYZxyz(51.6291, 36.1869, 98.8533)
Luminance0.3619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF81FF #B1FF81
analogous
#9081FF #CF81FF #FF81F0
triadic
#CF81FF #FFCF81 #81FFCF
tetradic
#CF81FF #FF9081 #B1FF81 #81F0FF
square
#CF81FF #FF9081 #B1FF81 #81F0FF
split-complementary
#CF81FF #F0FF81 #81FF90
monochromatic
#A007FF #B844FF #CF81FF #E6BEFF #F3E0FF

Accessibility & contrast

On white

2.55
#CF81FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#CF81FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF81FF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF81FF#FFFFFF#000000##000000
##CF81FF1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#79A4FC
Tritanopia (blue-blind)
#CA96B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf81ff;
/* rgb */ color: rgb(207, 129, 255);
/* oklch */ color: oklch(73.4% 0.190 311.1);
Tailwind
colors: {
  custom: {
    50: '#e0a8ff',
    500: '#cf81ff',
    950: '#000000',
  },
}
SCSS
$custom: #cf81ff;
$custom-light: #e0a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf81ff",
  "rgb": {
    "r": 207,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 277.143,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73406,
    "c": 0.18957,
    "h": 311.1
  },
  "luminance": 0.36186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF81FF

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

Preview Lab → · Contrast checker → · Palette generator →

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