#B045C7#B045C7

#B045C7 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.7% C 0.209 H 320.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B045C7
RGBrgb(176, 69, 199)
HSLhsl(289, 54%, 53%)
HSVhsv(289, 65%, 78%)
CMYKcmyk(11.6%, 65.3%, 0%, 22%)
CIE-LABlab(49.02, 61.45, -47.97)
CIE-LCHlch(49.02, 77.95, 322.03°)
OKLaboklab(58.71% 0.1602 -0.134)
OKLCHoklch(58.71% 0.209 320.1)
XYZxyz(30.3402, 17.6113, 55.8229)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045C7 #5CC745
analogous
#6F45C7 #B045C7 #C7459D
triadic
#B045C7 #C7B045 #45C7B0
tetradic
#B045C7 #C76F45 #5CC745 #459DC7
square
#B045C7 #C76F45 #5CC745 #459DC7
split-complementary
#B045C7 #9DC745 #45C76F
monochromatic
#622270 #8B309F #B045C7 #C474D5 #D8A3E3

Accessibility & contrast

On white

4.64
#B045C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B045C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B045C7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045C7#FFFFFF#000000##FFFFFF
##B045C71.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6DCB
Deuteranopia (green-blind)
#5078C4
Tritanopia (blue-blind)
#B15B80
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b045c7;
/* rgb */ color: rgb(176, 69, 199);
/* oklch */ color: oklch(58.7% 0.209 320.1);
Tailwind
colors: {
  custom: {
    50: '#cb80d8',
    500: '#b045c7',
    950: '#000000',
  },
}
SCSS
$custom: #b045c7;
$custom-light: #cb80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b045c7",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 289.385,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5871,
    "c": 0.20888,
    "h": 320.1
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#B045C7
secondary
#A2D098
accent
#DD4B65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B045C7

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

Preview Lab → · Contrast checker → · Palette generator →

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