#CF82FD#CF82FD

#CF82FD is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.5% C 0.186 H 311.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CF82FD
RGBrgb(207, 130, 253)
HSLhsl(278, 97%, 75%)
HSVhsv(278, 49%, 99%)
CMYKcmyk(18.2%, 48.6%, 0%, 0.8%)
CIE-LABlab(66.77, 50.72, -49.88)
CIE-LCHlch(66.77, 71.14, 315.48°)
OKLaboklab(73.45% 0.1232 -0.1391)
OKLCHoklch(73.45% 0.186 311.5)
XYZxyz(51.4412, 36.3235, 97.2107)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF82FD #B0FD82
analogous
#9282FD #CF82FD #FD82ED
triadic
#CF82FD #FDCF82 #82FDCF
tetradic
#CF82FD #FD9282 #B0FD82 #82EDFD
square
#CF82FD #FD9282 #B0FD82 #82EDFD
split-complementary
#CF82FD #EDFD82 #82FD92
monochromatic
#A10AFB #B846FC #CF82FD #E6BEFE #F3E1FF

Accessibility & contrast

On white

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

On black

8.26
#CF82FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF82FD
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF82FD#FFFFFF#000000##000000
##CF82FD1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf82fd;
/* rgb */ color: rgb(207, 130, 253);
/* oklch */ color: oklch(73.5% 0.186 311.5);
Tailwind
colors: {
  custom: {
    50: '#e0a8fe',
    500: '#cf82fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf82fd;
$custom-light: #e0a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf82fd",
  "rgb": {
    "r": 207,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 277.561,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73452,
    "c": 0.18581,
    "h": 311.5
  },
  "luminance": 0.36323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF82FD

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

Preview Lab → · Contrast checker → · Palette generator →

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