#CB30E2#CB30E2

#CB30E2 is a light, highly saturated purple. Relative luminance 0.203; OKLCH L 62.3% C 0.264 H 322.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CB30E2
RGBrgb(203, 48, 226)
HSLhsl(292, 75%, 54%)
HSVhsv(292, 79%, 89%)
CMYKcmyk(10.2%, 78.8%, 0%, 11.4%)
CIE-LABlab(52.18, 78.97, -58.12)
CIE-LCHlch(52.18, 98.05, 323.65°)
OKLaboklab(62.28% 0.2084 -0.1628)
OKLCHoklch(62.28% 0.264 322)
XYZxyz(39.4116, 20.3037, 73.7799)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB30E2 #47E230
analogous
#7230E2 #CB30E2 #E230A0
triadic
#CB30E2 #E2CB30 #30E2CB
tetradic
#CB30E2 #E27230 #47E230 #30A0E2
square
#CB30E2 #E27230 #47E230 #30A0E2
split-complementary
#CB30E2 #A0E230 #30E272
monochromatic
#761385 #A61ABB #CB30E2 #D866EA #E69BF1

Accessibility & contrast

On white

4.15
#CB30E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CB30E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB30E2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB30E2#FFFFFF#000000##000000
##CB30E21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#4C82DE
Tritanopia (blue-blind)
#CD568A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb30e2;
/* rgb */ color: rgb(203, 48, 226);
/* oklch */ color: oklch(62.3% 0.264 322.0);
Tailwind
colors: {
  custom: {
    50: '#df7bec',
    500: '#cb30e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb30e2;
$custom-light: #df7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb30e2",
  "rgb": {
    "r": 203,
    "g": 48,
    "b": 226
  },
  "hsl": {
    "h": 292.247,
    "s": 75.424,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.26444,
    "h": 322
  },
  "luminance": 0.20301
}

Semantic roles & 50–950 ramp

primary
#CB30E2
secondary
#9BDD91
accent
#F2364E
background
#FEF8FE
surface
#FCEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CB30E2

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

Preview Lab → · Contrast checker → · Palette generator →

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