#CF3EB8#CF3EB8

#CF3EB8 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.221 H 335.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CF3EB8
RGBrgb(207, 62, 184)
HSLhsl(310, 60%, 53%)
HSVhsv(310, 70%, 81%)
CMYKcmyk(0%, 70%, 11.1%, 18.8%)
CIE-LABlab(52.03, 68.87, -34.20)
CIE-LCHlch(52.03, 76.90, 333.59°)
OKLaboklab(61.57% 0.2008 -0.0934)
OKLCHoklch(61.57% 0.221 335.1)
XYZxyz(36.1069, 20.1745, 47.3305)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3EB8 #3ECF55
analogous
#9D3ECF #CF3EB8 #CF3E70
triadic
#CF3EB8 #B8CF3E #3EB8CF
tetradic
#CF3EB8 #CF9D3E #3ECF55 #3E70CF
square
#CF3EB8 #CF9D3E #3ECF55 #3E70CF
split-complementary
#CF3EB8 #70CF3E #3ECF9D
monochromatic
#751D67 #A62993 #CF3EB8 #DB6FCA #E7A0DC

Accessibility & contrast

On white

4.17
#CF3EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF3EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3EB8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3EB8#FFFFFF#000000##000000
##CF3EB81.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EBB
Deuteranopia (green-blind)
#7084B4
Tritanopia (blue-blind)
#D94976
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf3eb8;
/* rgb */ color: rgb(207, 62, 184);
/* oklch */ color: oklch(61.6% 0.221 335.1);
Tailwind
colors: {
  custom: {
    50: '#e180cd',
    500: '#cf3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #cf3eb8;
$custom-light: #e180cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3eb8",
  "rgb": {
    "r": 207,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 309.517,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.22144,
    "h": 335.1
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#CF3EB8
secondary
#95D49F
accent
#E35E44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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