#CF82FC#CF82FC

#CF82FC is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.4% C 0.185 H 311.8°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#CF82FC
RGBrgb(207, 130, 252)
HSLhsl(278, 95%, 75%)
HSVhsv(278, 48%, 99%)
CMYKcmyk(17.9%, 48.4%, 0%, 1.2%)
CIE-LABlab(66.72, 50.51, -49.41)
CIE-LCHlch(66.72, 70.65, 315.63°)
OKLaboklab(73.4% 0.123 -0.1378)
OKLCHoklch(73.4% 0.185 311.8)
XYZxyz(51.2823, 36.2600, 96.3740)
Luminance0.3626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF82FC #AFFC82
analogous
#9282FC #CF82FC #FC82EC
triadic
#CF82FC #FCCF82 #82FCCF
tetradic
#CF82FC #FC9282 #AFFC82 #82ECFC
square
#CF82FC #FC9282 #AFFC82 #82ECFC
split-complementary
#CF82FC #ECFC82 #82FC92
monochromatic
#A10AF9 #B846FB #CF82FC #E6BEFD #F4E1FE

Accessibility & contrast

On white

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

On black

8.25
#CF82FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF82FC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF82FC#FFFFFF#000000##000000
##CF82FC1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#CA95B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf82fc;
/* rgb */ color: rgb(207, 130, 252);
/* oklch */ color: oklch(73.4% 0.185 311.8);
Tailwind
colors: {
  custom: {
    50: '#e0a8fe',
    500: '#cf82fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf82fc;
$custom-light: #e0a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf82fc",
  "rgb": {
    "r": 207,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 277.869,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.734,
    "c": 0.18471,
    "h": 311.8
  },
  "luminance": 0.36259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF82FC

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

Preview Lab → · Contrast checker → · Palette generator →

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