#B045B5#B045B5

#B045B5 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.7% C 0.193 H 325.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B045B5
RGBrgb(176, 69, 181)
HSLhsl(297, 45%, 49%)
HSVhsv(297, 62%, 71%)
CMYKcmyk(2.8%, 61.9%, 0%, 29%)
CIE-LABlab(48.04, 58.14, -39.07)
CIE-LCHlch(48.04, 70.05, 326.10°)
OKLaboklab(57.68% 0.1598 -0.1081)
OKLCHoklch(57.68% 0.193 325.9)
XYZxyz(28.3725, 16.8243, 45.4601)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045B5 #4AB545
analogous
#7845B5 #B045B5 #B54582
triadic
#B045B5 #B5B045 #45B5B0
tetradic
#B045B5 #B57845 #4AB545 #4582B5
square
#B045B5 #B57845 #4AB545 #4582B5
split-complementary
#B045B5 #82B545 #45B578
monochromatic
#5A235C #853489 #B045B5 #C46FC8 #D69BD9

Accessibility & contrast

On white

4.81
#B045B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B045B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045B5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045B5#FFFFFF#000000##FFFFFF
##B045B51.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3469B8
Deuteranopia (green-blind)
#5B77B2
Tritanopia (blue-blind)
#B45477
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b045b5;
/* rgb */ color: rgb(176, 69, 181);
/* oklch */ color: oklch(57.7% 0.193 325.9);
Tailwind
colors: {
  custom: {
    50: '#cb80cb',
    500: '#b045b5',
    950: '#000000',
  },
}
SCSS
$custom: #b045b5;
$custom-light: #cb80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b045b5",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 297.321,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57681,
    "c": 0.19294,
    "h": 325.9
  },
  "luminance": 0.16823
}

Semantic roles & 50–950 ramp

primary
#B045B5
secondary
#93C591
accent
#D55359
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B045B5

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

Preview Lab → · Contrast checker → · Palette generator →

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