#B045CC#B045CC

#B045CC is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.213 H 318.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B045CC
RGBrgb(176, 69, 204)
HSLhsl(288, 57%, 54%)
HSVhsv(288, 66%, 80%)
CMYKcmyk(13.7%, 66.2%, 0%, 20%)
CIE-LABlab(49.31, 62.40, -50.38)
CIE-LCHlch(49.31, 80.21, 321.08°)
OKLaboklab(59.01% 0.1601 -0.1411)
OKLCHoklch(59.01% 0.213 318.6)
XYZxyz(30.9302, 17.8474, 58.9307)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045CC #61CC45
analogous
#6C45CC #B045CC #CC45A4
triadic
#B045CC #CCB045 #45CCB0
tetradic
#B045CC #CC6C45 #61CC45 #45A4CC
square
#B045CC #CC6C45 #61CC45 #45A4CC
split-complementary
#B045CC #A4CC45 #45CC6C
monochromatic
#642076 #8D2EA6 #B045CC #C475D9 #D9A5E6

Accessibility & contrast

On white

4.60
#B045CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B045CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B045CC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045CC#FFFFFF#000000##FFFFFF
##B045CC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106ED0
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#B05D83
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b045cc;
/* rgb */ color: rgb(176, 69, 204);
/* oklch */ color: oklch(59.0% 0.213 318.6);
Tailwind
colors: {
  custom: {
    50: '#cb80dc',
    500: '#b045cc',
    950: '#000000',
  },
}
SCSS
$custom: #b045cc;
$custom-light: #cb80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b045cc",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 287.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59011,
    "c": 0.21341,
    "h": 318.6
  },
  "luminance": 0.17846
}

Semantic roles & 50–950 ramp

primary
#B045CC
secondary
#A5D399
accent
#E04867
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B045CC

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

Preview Lab → · Contrast checker → · Palette generator →

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