#CB2ECF#CB2ECF

#CB2ECF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 61.0% C 0.252 H 327.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CB2ECF
RGBrgb(203, 46, 207)
HSLhsl(299, 64%, 50%)
HSVhsv(299, 78%, 81%)
CMYKcmyk(1.9%, 77.8%, 0%, 18.8%)
CIE-LABlab(50.87, 76.41, -49.38)
CIE-LCHlch(50.87, 90.97, 327.13°)
OKLaboklab(61% 0.2114 -0.1372)
OKLCHoklch(61% 0.252 327)
XYZxyz(36.8675, 19.1582, 60.7755)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2ECF #32CF2E
analogous
#7A2ECF #CB2ECF #CF2E83
triadic
#CB2ECF #CFCB2E #2ECFCB
tetradic
#CB2ECF #CF7A2E #32CF2E #2E83CF
square
#CB2ECF #CF7A2E #32CF2E #2E83CF
split-complementary
#CB2ECF #83CF2E #2ECF7A
monochromatic
#69186B #9A239D #CB2ECF #D85FDB #E491E7

Accessibility & contrast

On white

4.35
#CB2ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CB2ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB2ECF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2ECF#FFFFFF#000000##000000
##CB2ECF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#5980CB
Tritanopia (blue-blind)
#D14B7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb2ecf;
/* rgb */ color: rgb(203, 46, 207);
/* oklch */ color: oklch(61.0% 0.252 327.0);
Tailwind
colors: {
  custom: {
    50: '#df7ade',
    500: '#cb2ecf',
    950: '#000000',
  },
}
SCSS
$custom: #cb2ecf;
$custom-light: #df7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2ecf",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 298.509,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.25202,
    "h": 327
  },
  "luminance": 0.19155
}

Semantic roles & 50–950 ramp

primary
#CB2ECF
secondary
#89D188
accent
#E74145
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CB2ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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