#CD83F2#CD83F2

#CD83F2 is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.8% C 0.171 H 313.5°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#CD83F2
RGBrgb(205, 131, 242)
HSLhsl(280, 81%, 73%)
HSVhsv(280, 46%, 95%)
CMYKcmyk(15.3%, 45.9%, 0%, 5.1%)
CIE-LABlab(66.23, 47.34, -44.70)
CIE-LCHlch(66.23, 65.11, 316.64°)
OKLaboklab(72.84% 0.118 -0.1242)
OKLCHoklch(72.84% 0.171 313.5)
XYZxyz(49.3175, 35.6237, 88.2653)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD83F2 #A8F283
analogous
#9583F2 #CD83F2 #F283DF
triadic
#CD83F2 #F2CD83 #83F2CD
tetradic
#CD83F2 #F29583 #A8F283 #83DFF2
square
#CD83F2 #F29583 #A8F283 #83DFF2
split-complementary
#CD83F2 #DFF283 #83F295
monochromatic
#9F18E3 #B74CEC #CD83F2 #E3BAF8 #F4E3FC

Accessibility & contrast

On white

2.58
#CD83F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#CD83F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD83F2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD83F2#FFFFFF#000000##000000
##CD83F21.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#CA94AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd83f2;
/* rgb */ color: rgb(205, 131, 242);
/* oklch */ color: oklch(72.8% 0.171 313.5);
Tailwind
colors: {
  custom: {
    50: '#dea9f7',
    500: '#cd83f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd83f2;
$custom-light: #dea9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd83f2",
  "rgb": {
    "r": 205,
    "g": 131,
    "b": 242
  },
  "hsl": {
    "h": 280,
    "s": 81.022,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72835,
    "c": 0.17132,
    "h": 313.5
  },
  "luminance": 0.35623
}

Semantic roles & 50–950 ramp

primary
#CD83F2
secondary
#E1F4D7
accent
#DD084F
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD83F2

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

Preview Lab → · Contrast checker → · Palette generator →

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