#B050CC#B050CC

#B050CC is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.3% C 0.198 H 317.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B050CC
RGBrgb(176, 80, 204)
HSLhsl(286, 55%, 56%)
HSVhsv(286, 61%, 80%)
CMYKcmyk(13.7%, 60.8%, 0%, 20%)
CIE-LABlab(51.07, 57.55, -47.58)
CIE-LCHlch(51.07, 74.67, 320.42°)
OKLaboklab(60.28% 0.1473 -0.133)
OKLCHoklch(60.28% 0.198 317.9)
XYZxyz(31.6707, 19.3283, 59.1775)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B050CC #6CCC50
analogous
#7250CC #B050CC #CC50AA
triadic
#B050CC #CCB050 #50CCB0
tetradic
#B050CC #CC7250 #6CCC50 #50AACC
square
#B050CC #CC7250 #6CCC50 #50AACC
split-complementary
#B050CC #AACC50 #50CC72
monochromatic
#69247D #9132AD #B050CC #C57FDA #DBAFE8

Accessibility & contrast

On white

4.32
#B050CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B050CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B050CC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B050CC#FFFFFF#000000##000000
##B050CC1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E73D0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#AF6587
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b050cc;
/* rgb */ color: rgb(176, 80, 204);
/* oklch */ color: oklch(60.3% 0.198 317.9);
Tailwind
colors: {
  custom: {
    50: '#cb87dc',
    500: '#b050cc',
    950: '#000000',
  },
}
SCSS
$custom: #b050cc;
$custom-light: #cb87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b050cc",
  "rgb": {
    "r": 176,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 286.452,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60282,
    "c": 0.19845,
    "h": 317.9
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#B050CC
secondary
#AED6A2
accent
#DE4A6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B050CC

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

Preview Lab → · Contrast checker → · Palette generator →

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