#CD72F2#CD72F2

#CD72F2 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.3% C 0.198 H 315.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CD72F2
RGBrgb(205, 114, 242)
HSLhsl(283, 83%, 70%)
HSVhsv(283, 53%, 95%)
CMYKcmyk(15.3%, 52.9%, 0%, 5.1%)
CIE-LABlab(62.87, 56.06, -50.01)
CIE-LCHlch(62.87, 75.13, 318.26°)
OKLaboklab(70.34% 0.1408 -0.1395)
OKLCHoklch(70.34% 0.198 315.3)
XYZxyz(47.2187, 31.4260, 87.5657)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72F2 #97F272
analogous
#8D72F2 #CD72F2 #F272D7
triadic
#CD72F2 #F2CD72 #72F2CD
tetradic
#CD72F2 #F28D72 #97F272 #72D7F2
square
#CD72F2 #F28D72 #97F272 #72D7F2
split-complementary
#CD72F2 #D7F272 #72F28D
monochromatic
#9E14D6 #B93AED #CD72F2 #E1AAF7 #F5E2FC

Accessibility & contrast

On white

2.88
#CD72F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CD72F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72F2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72F2#FFFFFF#000000##000000
##CD72F21.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#719BEF
Tritanopia (blue-blind)
#CB86A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd72f2;
/* rgb */ color: rgb(205, 114, 242);
/* oklch */ color: oklch(70.3% 0.198 315.3);
Tailwind
colors: {
  custom: {
    50: '#df9ef7',
    500: '#cd72f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd72f2;
$custom-light: #df9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72f2",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 282.656,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70341,
    "c": 0.19819,
    "h": 315.3
  },
  "luminance": 0.31425
}

Semantic roles & 50–950 ramp

primary
#CD72F2
secondary
#D8F2CE
accent
#E00645
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD72F2

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

Preview Lab → · Contrast checker → · Palette generator →

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