#CF2EBA#CF2EBA

#CF2EBA is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.4% C 0.239 H 334.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CF2EBA
RGBrgb(207, 46, 186)
HSLhsl(308, 64%, 50%)
HSVhsv(308, 78%, 81%)
CMYKcmyk(0%, 77.8%, 10.1%, 18.8%)
CIE-LABlab(50.41, 74.06, -37.91)
CIE-LCHlch(50.41, 83.20, 332.89°)
OKLaboklab(60.44% 0.2154 -0.1039)
OKLCHoklch(60.44% 0.239 334.2)
XYZxyz(35.5724, 18.7677, 48.1939)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2EBA #2ECF43
analogous
#942ECF #CF2EBA #CF2E6A
triadic
#CF2EBA #BACF2E #2EBACF
tetradic
#CF2EBA #CF942E #2ECF43 #2E6ACF
square
#CF2EBA #CF942E #2ECF43 #2E6ACF
split-complementary
#CF2EBA #6ACF2E #2ECF94
monochromatic
#6B1860 #9D238D #CF2EBA #DB5FCB #E791DB

Accessibility & contrast

On white

4.42
#CF2EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CF2EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2EBA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2EBA#FFFFFF#000000##000000
##CF2EBA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#6980B6
Tritanopia (blue-blind)
#D93F73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf2eba;
/* rgb */ color: rgb(207, 46, 186);
/* oklch */ color: oklch(60.4% 0.239 334.2);
Tailwind
colors: {
  custom: {
    50: '#e279cf',
    500: '#cf2eba',
    950: '#000000',
  },
}
SCSS
$custom: #cf2eba;
$custom-light: #e279cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2eba",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 307.826,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60435,
    "c": 0.23915,
    "h": 334.2
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#CF2EBA
secondary
#88D191
accent
#E75741
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CF2EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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