#CB3FBA#CB3FBA

#CB3FBA is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.219 H 333.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB3FBA
RGBrgb(203, 63, 186)
HSLhsl(307, 57%, 52%)
HSVhsv(307, 69%, 80%)
CMYKcmyk(0%, 69%, 8.4%, 20.4%)
CIE-LABlab(51.61, 67.88, -36.08)
CIE-LCHlch(51.61, 76.87, 332.01°)
OKLaboklab(61.17% 0.1959 -0.0988)
OKLCHoklch(61.17% 0.219 333.2)
XYZxyz(35.2692, 19.7996, 48.4090)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3FBA #3FCB50
analogous
#963FCB #CB3FBA #CB3F74
triadic
#CB3FBA #BACB3F #3FBACB
tetradic
#CB3FBA #CB963F #3FCB50 #3F74CB
square
#CB3FBA #CB963F #3FCB50 #3F74CB
split-complementary
#CB3FBA #74CB3F #3FCB96
monochromatic
#711F67 #A12C93 #CB3FBA #D86FCB #E59FDD

Accessibility & contrast

On white

4.23
#CB3FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CB3FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3FBA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3FBA#FFFFFF#000000##000000
##CB3FBA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#6C82B7
Tritanopia (blue-blind)
#D44C78
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb3fba;
/* rgb */ color: rgb(203, 63, 186);
/* oklch */ color: oklch(61.2% 0.219 333.2);
Tailwind
colors: {
  custom: {
    50: '#de80cf',
    500: '#cb3fba',
    950: '#000000',
  },
}
SCSS
$custom: #cb3fba;
$custom-light: #de80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3fba",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 307.286,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61169,
    "c": 0.21945,
    "h": 333.2
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#CB3FBA
secondary
#94D19C
accent
#E15A47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CB3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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