#CB30DB#CB30DB

#CB30DB is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.8% C 0.259 H 323.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CB30DB
RGBrgb(203, 48, 219)
HSLhsl(294, 70%, 52%)
HSVhsv(294, 78%, 86%)
CMYKcmyk(7.3%, 78.1%, 0%, 14.1%)
CIE-LABlab(51.75, 77.81, -54.82)
CIE-LCHlch(51.75, 95.18, 324.83°)
OKLaboklab(61.85% 0.2091 -0.1531)
OKLCHoklch(61.85% 0.259 323.8)
XYZxyz(38.4706, 19.9273, 68.8242)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB30DB #40DB30
analogous
#7630DB #CB30DB #DB3095
triadic
#CB30DB #DBCB30 #30DBCB
tetradic
#CB30DB #DB7630 #40DB30 #3095DB
square
#CB30DB #DB7630 #40DB30 #3095DB
split-complementary
#CB30DB #95DB30 #30DB76
monochromatic
#72157B #A21EAF #CB30DB #D864E4 #E598ED

Accessibility & contrast

On white

4.21
#CB30DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CB30DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB30DB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB30DB#FFFFFF#000000##000000
##CB30DB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#5181D7
Tritanopia (blue-blind)
#CF5286
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb30db;
/* rgb */ color: rgb(203, 48, 219);
/* oklch */ color: oklch(61.8% 0.259 323.8);
Tailwind
colors: {
  custom: {
    50: '#df7be7',
    500: '#cb30db',
    950: '#000000',
  },
}
SCSS
$custom: #cb30db;
$custom-light: #df7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb30db",
  "rgb": {
    "r": 203,
    "g": 48,
    "b": 219
  },
  "hsl": {
    "h": 294.386,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61848,
    "c": 0.25918,
    "h": 323.8
  },
  "luminance": 0.19925
}

Semantic roles & 50–950 ramp

primary
#CB30DB
secondary
#95D98E
accent
#ED3B4B
background
#FEF8FE
surface
#FCEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CB30DB

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

Preview Lab → · Contrast checker → · Palette generator →

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