#CF38C0#CF38C0

#CF38C0 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.5% C 0.234 H 332.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CF38C0
RGBrgb(207, 56, 192)
HSLhsl(306, 61%, 52%)
HSVhsv(306, 73%, 81%)
CMYKcmyk(0%, 72.9%, 7.2%, 18.8%)
CIE-LABlab(51.73, 72.04, -39.33)
CIE-LCHlch(51.73, 82.07, 331.37°)
OKLaboklab(61.47% 0.2072 -0.1081)
OKLCHoklch(61.47% 0.234 332.5)
XYZxyz(36.6609, 19.9026, 51.7697)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38C0 #38CF47
analogous
#9338CF #CF38C0 #CF3875
triadic
#CF38C0 #C0CF38 #38C0CF
tetradic
#CF38C0 #CF9338 #38CF47 #3875CF
square
#CF38C0 #CF9338 #38CF47 #3875CF
split-complementary
#CF38C0 #75CF38 #38CF93
monochromatic
#711B69 #A32796 #CF38C0 #DB69D0 #E79BDF

Accessibility & contrast

On white

4.22
#CF38C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CF38C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38C0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38C0#FFFFFF#000000##000000
##CF38C01.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6EC4
Deuteranopia (green-blind)
#6A83BC
Tritanopia (blue-blind)
#D84879
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf38c0;
/* rgb */ color: rgb(207, 56, 192);
/* oklch */ color: oklch(61.5% 0.234 332.5);
Tailwind
colors: {
  custom: {
    50: '#e27dd3',
    500: '#cf38c0',
    950: '#000000',
  },
}
SCSS
$custom: #cf38c0;
$custom-light: #e27dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38c0",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 305.96,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.23367,
    "h": 332.5
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#CF38C0
secondary
#90D397
accent
#E45444
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CF38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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