#CF82FE#CF82FE

#CF82FE is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.5% C 0.187 H 311.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#CF82FE
RGBrgb(207, 130, 254)
HSLhsl(277, 98%, 75%)
HSVhsv(277, 49%, 100%)
CMYKcmyk(18.5%, 48.8%, 0%, 0.4%)
CIE-LABlab(66.81, 50.93, -50.35)
CIE-LCHlch(66.81, 71.62, 315.33°)
OKLaboklab(73.5% 0.1233 -0.1405)
OKLCHoklch(73.5% 0.187 311.3)
XYZxyz(51.6009, 36.3874, 98.0519)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF82FE #B1FE82
analogous
#9182FE #CF82FE #FE82EF
triadic
#CF82FE #FECF82 #82FECF
tetradic
#CF82FE #FE9182 #B1FE82 #82EFFE
square
#CF82FE #FE9182 #B1FE82 #82EFFE
split-complementary
#CF82FE #EFFE82 #82FE91
monochromatic
#A009FD #B845FE #CF82FE #E6BFFE #F3E1FF

Accessibility & contrast

On white

2.54
#CF82FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#CF82FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF82FE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF82FE#FFFFFF#000000##000000
##CF82FE1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#7AA4FB
Tritanopia (blue-blind)
#CA96B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf82fe;
/* rgb */ color: rgb(207, 130, 254);
/* oklch */ color: oklch(73.5% 0.187 311.3);
Tailwind
colors: {
  custom: {
    50: '#e0a8ff',
    500: '#cf82fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf82fe;
$custom-light: #e0a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf82fe",
  "rgb": {
    "r": 207,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 277.258,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73504,
    "c": 0.1869,
    "h": 311.3
  },
  "luminance": 0.36386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF82FE

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

Preview Lab → · Contrast checker → · Palette generator →

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