#CB2ED7#CB2ED7

#CB2ED7 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.5% C 0.258 H 324.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CB2ED7
RGBrgb(203, 46, 215)
HSLhsl(296, 68%, 51%)
HSVhsv(296, 79%, 84%)
CMYKcmyk(5.6%, 78.6%, 0%, 15.7%)
CIE-LABlab(51.34, 77.69, -53.22)
CIE-LCHlch(51.34, 94.16, 325.59°)
OKLaboklab(61.47% 0.2109 -0.1484)
OKLCHoklch(61.47% 0.258 324.9)
XYZxyz(37.8704, 19.5593, 66.0575)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2ED7 #3AD72E
analogous
#762ED7 #CB2ED7 #D72E8E
triadic
#CB2ED7 #D7CB2E #2ED7CB
tetradic
#CB2ED7 #D7762E #3AD72E #2E8ED7
square
#CB2ED7 #D7762E #3AD72E #2E8ED7
split-complementary
#CB2ED7 #8ED72E #2ED776
monochromatic
#6E1674 #9E20A8 #CB2ED7 #D861E1 #E595EB

Accessibility & contrast

On white

4.28
#CB2ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CB2ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB2ED7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2ED7#FFFFFF#000000##000000
##CB2ED71.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#5481D3
Tritanopia (blue-blind)
#CF4F83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb2ed7;
/* rgb */ color: rgb(203, 46, 215);
/* oklch */ color: oklch(61.5% 0.258 324.9);
Tailwind
colors: {
  custom: {
    50: '#df7ae4',
    500: '#cb2ed7',
    950: '#000000',
  },
}
SCSS
$custom: #cb2ed7;
$custom-light: #df7ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2ed7",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 295.74,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.25788,
    "h": 324.9
  },
  "luminance": 0.19557
}

Semantic roles & 50–950 ramp

primary
#CB2ED7
secondary
#90D68B
accent
#EB3D49
background
#FEF8FE
surface
#FCEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CB2ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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