#B045C9#B045C9

#B045C9 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.211 H 319.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B045C9
RGBrgb(176, 69, 201)
HSLhsl(289, 55%, 53%)
HSVhsv(289, 66%, 79%)
CMYKcmyk(12.4%, 65.7%, 0%, 21.2%)
CIE-LABlab(49.14, 61.83, -48.94)
CIE-LCHlch(49.14, 78.85, 321.64°)
OKLaboklab(58.83% 0.1602 -0.1368)
OKLCHoklch(58.83% 0.211 319.5)
XYZxyz(30.5739, 17.7048, 57.0539)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045C9 #5EC945
analogous
#6E45C9 #B045C9 #C945A0
triadic
#B045C9 #C9B045 #45C9B0
tetradic
#B045C9 #C96E45 #5EC945 #45A0C9
square
#B045C9 #C96E45 #5EC945 #45A0C9
split-complementary
#B045C9 #A0C945 #45C96E
monochromatic
#632172 #8C2FA2 #B045C9 #C474D7 #D8A4E5

Accessibility & contrast

On white

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

On black

4.54
#B045C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B045C9#FFFFFF#000000##FFFFFF
##B045C91.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186ECD
Deuteranopia (green-blind)
#4F78C6
Tritanopia (blue-blind)
#B05C81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b045c9;
/* rgb */ color: rgb(176, 69, 201);
/* oklch */ color: oklch(58.8% 0.211 319.5);
Tailwind
colors: {
  custom: {
    50: '#cb80da',
    500: '#b045c9',
    950: '#000000',
  },
}
SCSS
$custom: #b045c9;
$custom-light: #cb80da;
$custom-dark: #000000;
JSON
{
  "hex": "#b045c9",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 288.636,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58829,
    "c": 0.21069,
    "h": 319.5
  },
  "luminance": 0.17703
}

Semantic roles & 50–950 ramp

primary
#B045C9
secondary
#A3D198
accent
#DE4966
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B045C9

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

Preview Lab → · Contrast checker → · Palette generator →

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