#CF38D5#CF38D5

#CF38D5 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.6% C 0.249 H 326.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CF38D5
RGBrgb(207, 56, 213)
HSLhsl(298, 65%, 53%)
HSVhsv(298, 74%, 84%)
CMYKcmyk(2.8%, 73.7%, 0%, 16.5%)
CIE-LABlab(52.84, 75.31, -49.63)
CIE-LCHlch(52.84, 90.20, 326.61°)
OKLaboklab(62.63% 0.2074 -0.1379)
OKLCHoklch(62.63% 0.249 326.4)
XYZxyz(39.1558, 20.9005, 64.9097)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38D5 #3ED538
analogous
#8038D5 #CF38D5 #D5388C
triadic
#CF38D5 #D5CF38 #38D5CF
tetradic
#CF38D5 #D58038 #3ED538 #388CD5
square
#CF38D5 #D58038 #3ED538 #388CD5
split-complementary
#CF38D5 #8CD538 #38D580
monochromatic
#751A79 #A624AC #CF38D5 #DB6BE0 #E79DEA

Accessibility & contrast

On white

4.05
#CF38D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CF38D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38D5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38D5#FFFFFF#000000##000000
##CF38D51.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0172D9
Deuteranopia (green-blind)
#5E85D1
Tritanopia (blue-blind)
#D45384
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf38d5;
/* rgb */ color: rgb(207, 56, 213);
/* oklch */ color: oklch(62.6% 0.249 326.4);
Tailwind
colors: {
  custom: {
    50: '#e27ee2',
    500: '#cf38d5',
    950: '#000000',
  },
}
SCSS
$custom: #cf38d5;
$custom-light: #e27ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38d5",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 213
  },
  "hsl": {
    "h": 297.707,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6263,
    "c": 0.24905,
    "h": 326.4
  },
  "luminance": 0.20898
}

Semantic roles & 50–950 ramp

primary
#CF38D5
secondary
#95D692
accent
#E84046
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF38D5

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

Preview Lab → · Contrast checker → · Palette generator →

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