#CD82F4#CD82F4

#CD82F4 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.8% C 0.175 H 313.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#CD82F4
RGBrgb(205, 130, 244)
HSLhsl(279, 84%, 73%)
HSVhsv(279, 47%, 96%)
CMYKcmyk(16%, 46.7%, 0%, 4.3%)
CIE-LABlab(66.12, 48.28, -45.98)
CIE-LCHlch(66.12, 66.67, 316.40°)
OKLaboklab(72.78% 0.1197 -0.1279)
OKLCHoklch(72.78% 0.175 313.1)
XYZxyz(49.4859, 35.4772, 89.8113)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82F4 #A9F482
analogous
#9482F4 #CD82F4 #F482E2
triadic
#CD82F4 #F4CD82 #82F4CD
tetradic
#CD82F4 #F49482 #A9F482 #82E2F4
square
#CD82F4 #F49482 #A9F482 #82E2F4
split-complementary
#CD82F4 #E2F482 #82F494
monochromatic
#9F14E7 #B74AEF #CD82F4 #E3BAF9 #F4E3FD

Accessibility & contrast

On white

2.59
#CD82F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#CD82F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82F4
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82F4#FFFFFF#000000##000000
##CD82F41.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF8
Deuteranopia (green-blind)
#7EA3F1
Tritanopia (blue-blind)
#CA93B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd82f4;
/* rgb */ color: rgb(205, 130, 244);
/* oklch */ color: oklch(72.8% 0.175 313.1);
Tailwind
colors: {
  custom: {
    50: '#dea8f8',
    500: '#cd82f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd82f4;
$custom-light: #dea8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82f4",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 244
  },
  "hsl": {
    "h": 279.474,
    "s": 83.824,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72781,
    "c": 0.17514,
    "h": 313.1
  },
  "luminance": 0.35476
}

Semantic roles & 50–950 ramp

primary
#CD82F4
secondary
#E1F4D7
accent
#E00550
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD82F4

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

Preview Lab → · Contrast checker → · Palette generator →

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