#CF82F8#CF82F8

#CF82F8 is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.2% C 0.180 H 312.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#CF82F8
RGBrgb(207, 130, 248)
HSLhsl(279, 89%, 74%)
HSVhsv(279, 48%, 97%)
CMYKcmyk(16.5%, 47.6%, 0%, 2.7%)
CIE-LABlab(66.53, 49.66, -47.52)
CIE-LCHlch(66.53, 68.74, 316.26°)
OKLaboklab(73.2% 0.1226 -0.1323)
OKLCHoklch(73.2% 0.18 312.8)
XYZxyz(50.6552, 36.0091, 93.0707)
Luminance0.3601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF82F8 #ABF882
analogous
#9482F8 #CF82F8 #F882E6
triadic
#CF82F8 #F8CF82 #82F8CF
tetradic
#CF82F8 #F89482 #ABF882 #82E6F8
square
#CF82F8 #F89482 #ABF882 #82E6F8
split-complementary
#CF82F8 #E6F882 #82F894
monochromatic
#A20EF2 #B948F5 #CF82F8 #E5BCFB #F4E2FD

Accessibility & contrast

On white

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

On black

8.20
#CF82F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF82F8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF82F8#FFFFFF#000000##000000
##CF82F81.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#CB94B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf82f8;
/* rgb */ color: rgb(207, 130, 248);
/* oklch */ color: oklch(73.2% 0.180 312.8);
Tailwind
colors: {
  custom: {
    50: '#e0a8fb',
    500: '#cf82f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf82f8;
$custom-light: #e0a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf82f8",
  "rgb": {
    "r": 207,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 279.153,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73196,
    "c": 0.18032,
    "h": 312.8
  },
  "luminance": 0.36008
}

Semantic roles & 50–950 ramp

primary
#CF82F8
secondary
#E1F5D6
accent
#E60050
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF82F8

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

Preview Lab → · Contrast checker → · Palette generator →

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