#CD83FE#CD83FE

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

Color values

HEX#CD83FE
RGBrgb(205, 131, 254)
HSLhsl(276, 98%, 75%)
HSVhsv(276, 48%, 100%)
CMYKcmyk(19.3%, 48.4%, 0%, 0.4%)
CIE-LABlab(66.80, 49.88, -50.39)
CIE-LCHlch(66.80, 70.90, 314.71°)
OKLaboklab(73.44% 0.1196 -0.1407)
OKLCHoklch(73.44% 0.185 310.4)
XYZxyz(51.1792, 36.3684, 98.0704)
Luminance0.3637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD83FE #B4FE83
analogous
#9083FE #CD83FE #FE83F1
triadic
#CD83FE #FECD83 #83FECD
tetradic
#CD83FE #FE9083 #B4FE83 #83F1FE
square
#CD83FE #FE9083 #B4FE83 #83F1FE
split-complementary
#CD83FE #F1FE83 #83FE90
monochromatic
#9C0AFD #B546FE #CD83FE #E5C0FE #F3E1FF

Accessibility & contrast

On white

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

On black

8.27
#CD83FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD83FE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD83FE#FFFFFF#000000##000000
##CD83FE1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#7AA4FB
Tritanopia (blue-blind)
#C797B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd83fe;
/* rgb */ color: rgb(205, 131, 254);
/* oklch */ color: oklch(73.4% 0.185 310.4);
Tailwind
colors: {
  custom: {
    50: '#dea9ff',
    500: '#cd83fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd83fe;
$custom-light: #dea9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd83fe",
  "rgb": {
    "r": 205,
    "g": 131,
    "b": 254
  },
  "hsl": {
    "h": 276.098,
    "s": 98.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73444,
    "c": 0.18461,
    "h": 310.4
  },
  "luminance": 0.36367
}

Semantic roles & 50–950 ramp

primary
#CD83FE
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD83FE

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

Preview Lab → · Contrast checker → · Palette generator →

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