#B045CA#B045CA

#B045CA is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.9% C 0.212 H 319.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B045CA
RGBrgb(176, 69, 202)
HSLhsl(288, 56%, 53%)
HSVhsv(288, 66%, 79%)
CMYKcmyk(12.9%, 65.8%, 0%, 20.8%)
CIE-LABlab(49.19, 62.02, -49.42)
CIE-LCHlch(49.19, 79.30, 321.45°)
OKLaboklab(58.89% 0.1602 -0.1383)
OKLCHoklch(58.89% 0.212 319.2)
XYZxyz(30.6919, 17.7520, 57.6755)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045CA #5FCA45
analogous
#6D45CA #B045CA #CA45A1
triadic
#B045CA #CAB045 #45CAB0
tetradic
#B045CA #CA6D45 #5FCA45 #45A1CA
square
#B045CA #CA6D45 #5FCA45 #45A1CA
split-complementary
#B045CA #A1CA45 #45CA6D
monochromatic
#632174 #8C2FA3 #B045CA #C475D8 #D8A4E5

Accessibility & contrast

On white

4.62
#B045CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B045CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B045CA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045CA#FFFFFF#000000##FFFFFF
##B045CA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156ECE
Deuteranopia (green-blind)
#4E79C7
Tritanopia (blue-blind)
#B05D82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b045ca;
/* rgb */ color: rgb(176, 69, 202);
/* oklch */ color: oklch(58.9% 0.212 319.2);
Tailwind
colors: {
  custom: {
    50: '#cb80db',
    500: '#b045ca',
    950: '#000000',
  },
}
SCSS
$custom: #b045ca;
$custom-light: #cb80db;
$custom-dark: #000000;
JSON
{
  "hex": "#b045ca",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 288.271,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5889,
    "c": 0.21159,
    "h": 319.2
  },
  "luminance": 0.17751
}

Semantic roles & 50–950 ramp

primary
#B045CA
secondary
#A4D299
accent
#DF4966
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B045CA

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

Preview Lab → · Contrast checker → · Palette generator →

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