#CB3FB8#CB3FB8

#CB3FB8 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.1% C 0.218 H 333.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CB3FB8
RGBrgb(203, 63, 184)
HSLhsl(308, 57%, 52%)
HSVhsv(308, 69%, 80%)
CMYKcmyk(0%, 69%, 9.4%, 20.4%)
CIE-LABlab(51.51, 67.57, -35.07)
CIE-LCHlch(51.51, 76.13, 332.57°)
OKLaboklab(61.07% 0.1958 -0.0959)
OKLCHoklch(61.07% 0.218 333.9)
XYZxyz(35.0581, 19.7151, 47.2971)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3FB8 #3FCB52
analogous
#983FCB #CB3FB8 #CB3F72
triadic
#CB3FB8 #B8CB3F #3FB8CB
tetradic
#CB3FB8 #CB983F #3FCB52 #3F72CB
square
#CB3FB8 #CB983F #3FCB52 #3F72CB
split-complementary
#CB3FB8 #72CB3F #3FCB98
monochromatic
#711F66 #A12C91 #CB3FB8 #D86FCA #E59FDC

Accessibility & contrast

On white

4.25
#CB3FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CB3FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3FB8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3FB8#FFFFFF#000000##000000
##CB3FB81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBB
Deuteranopia (green-blind)
#6D82B5
Tritanopia (blue-blind)
#D44B77
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb3fb8;
/* rgb */ color: rgb(203, 63, 184);
/* oklch */ color: oklch(61.1% 0.218 333.9);
Tailwind
colors: {
  custom: {
    50: '#de80cd',
    500: '#cb3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #cb3fb8;
$custom-light: #de80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3fb8",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 308.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.218,
    "h": 333.9
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#CB3FB8
secondary
#94D19D
accent
#E15C47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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