#CB3DB7#CB3DB7

#CB3DB7 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.8% C 0.220 H 334.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CB3DB7
RGBrgb(203, 61, 183)
HSLhsl(308, 58%, 52%)
HSVhsv(308, 70%, 80%)
CMYKcmyk(0%, 70%, 9.9%, 20.4%)
CIE-LABlab(51.22, 68.13, -34.95)
CIE-LCHlch(51.22, 76.57, 332.84°)
OKLaboklab(60.84% 0.1977 -0.0956)
OKLCHoklch(60.84% 0.22 334.2)
XYZxyz(34.8449, 19.4558, 46.7107)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3DB7 #3DCB51
analogous
#983DCB #CB3DB7 #CB3D70
triadic
#CB3DB7 #B7CB3D #3DB7CB
tetradic
#CB3DB7 #CB983D #3DCB51 #3D70CB
square
#CB3DB7 #CB983D #3DCB51 #3D70CB
split-complementary
#CB3DB7 #70CB3D #3DCB98
monochromatic
#701E64 #A02B8F #CB3DB7 #D86DC9 #E59EDB

Accessibility & contrast

On white

4.29
#CB3DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CB3DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3DB7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3DB7#FFFFFF#000000##000000
##CB3DB71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBA
Deuteranopia (green-blind)
#6D81B4
Tritanopia (blue-blind)
#D44975
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb3db7;
/* rgb */ color: rgb(203, 61, 183);
/* oklch */ color: oklch(60.8% 0.220 334.2);
Tailwind
colors: {
  custom: {
    50: '#df7fcd',
    500: '#cb3db7',
    950: '#000000',
  },
}
SCSS
$custom: #cb3db7;
$custom-light: #df7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3db7",
  "rgb": {
    "r": 203,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 308.451,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60838,
    "c": 0.21963,
    "h": 334.2
  },
  "luminance": 0.19453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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