#CF38BE#CF38BE

#CF38BE is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.232 H 333.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF38BE
RGBrgb(207, 56, 190)
HSLhsl(307, 61%, 52%)
HSVhsv(307, 73%, 81%)
CMYKcmyk(0%, 72.9%, 8.2%, 18.8%)
CIE-LABlab(51.63, 71.74, -38.33)
CIE-LCHlch(51.63, 81.34, 331.89°)
OKLaboklab(61.37% 0.2071 -0.1052)
OKLCHoklch(61.37% 0.232 333.1)
XYZxyz(36.4408, 19.8145, 50.6106)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38BE #38CF49
analogous
#9538CF #CF38BE #CF3873
triadic
#CF38BE #BECF38 #38BECF
tetradic
#CF38BE #CF9538 #38CF49 #3873CF
square
#CF38BE #CF9538 #38CF49 #3873CF
split-complementary
#CF38BE #73CF38 #38CF95
monochromatic
#711B68 #A32795 #CF38BE #DB69CE #E79BDE

Accessibility & contrast

On white

4.23
#CF38BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CF38BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38BE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38BE#FFFFFF#000000##000000
##CF38BE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#316DC2
Deuteranopia (green-blind)
#6B83BA
Tritanopia (blue-blind)
#D84778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf38be;
/* rgb */ color: rgb(207, 56, 190);
/* oklch */ color: oklch(61.4% 0.232 333.1);
Tailwind
colors: {
  custom: {
    50: '#e27dd2',
    500: '#cf38be',
    950: '#000000',
  },
}
SCSS
$custom: #cf38be;
$custom-light: #e27dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38be",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 306.755,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61369,
    "c": 0.23225,
    "h": 333.1
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

primary
#CF38BE
secondary
#90D398
accent
#E45644
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CF38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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