#CB3EB7#CB3EB7

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

Color values

HEX#CB3EB7
RGBrgb(203, 62, 183)
HSLhsl(309, 58%, 52%)
HSVhsv(309, 69%, 80%)
CMYKcmyk(0%, 69.5%, 9.9%, 20.4%)
CIE-LABlab(51.34, 67.78, -34.76)
CIE-LCHlch(51.34, 76.17, 332.85°)
OKLaboklab(60.93% 0.1967 -0.095)
OKLCHoklch(60.93% 0.218 334.2)
XYZxyz(34.8988, 19.5636, 46.7287)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3EB7 #3ECB52
analogous
#993ECB #CB3EB7 #CB3E70
triadic
#CB3EB7 #B7CB3E #3EB7CB
tetradic
#CB3EB7 #CB993E #3ECB52 #3E70CB
square
#CB3EB7 #CB993E #3ECB52 #3E70CB
split-complementary
#CB3EB7 #70CB3E #3ECB99
monochromatic
#701E65 #A12B90 #CB3EB7 #D86EC9 #E59EDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB3EB7#FFFFFF#000000##000000
##CB3EB71.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)
#3C6DBA
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#D44A76
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb3eb7;
/* rgb */ color: rgb(203, 62, 183);
/* oklch */ color: oklch(60.9% 0.218 334.2);
Tailwind
colors: {
  custom: {
    50: '#df7fcd',
    500: '#cb3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cb3eb7;
$custom-light: #df7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3eb7",
  "rgb": {
    "r": 203,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 308.511,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60927,
    "c": 0.21847,
    "h": 334.2
  },
  "luminance": 0.19561
}

Semantic roles & 50–950 ramp

primary
#CB3EB7
secondary
#94D19C
accent
#E15D47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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