#CF82FB#CF82FB

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

Color values

HEX#CF82FB
RGBrgb(207, 130, 251)
HSLhsl(278, 94%, 75%)
HSVhsv(278, 48%, 98%)
CMYKcmyk(17.5%, 48.2%, 0%, 1.6%)
CIE-LABlab(66.67, 50.29, -48.94)
CIE-LCHlch(66.67, 70.17, 315.78°)
OKLaboklab(73.35% 0.1229 -0.1364)
OKLCHoklch(73.35% 0.184 312)
XYZxyz(51.1243, 36.1968, 95.5416)
Luminance0.3620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF82FB #AEFB82
analogous
#9382FB #CF82FB #FB82EA
triadic
#CF82FB #FBCF82 #82FBCF
tetradic
#CF82FB #FB9382 #AEFB82 #82EAFB
square
#CF82FB #FB9382 #AEFB82 #82EAFB
split-complementary
#CF82FB #EAFB82 #82FB93
monochromatic
#A10BF7 #B847F9 #CF82FB #E6BDFD #F4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF82FB#FFFFFF#000000##000000
##CF82FB1.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)
#669EFF
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#CA95B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf82fb;
/* rgb */ color: rgb(207, 130, 251);
/* oklch */ color: oklch(73.3% 0.184 312.0);
Tailwind
colors: {
  custom: {
    50: '#e0a8fd',
    500: '#cf82fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf82fb;
$custom-light: #e0a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf82fb",
  "rgb": {
    "r": 207,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 278.182,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73349,
    "c": 0.18361,
    "h": 312
  },
  "luminance": 0.36196
}

Semantic roles & 50–950 ramp

primary
#CF82FB
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF82FB

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

Preview Lab → · Contrast checker → · Palette generator →

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