#B045CE#B045CE

#B045CE is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.215 H 318.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B045CE
RGBrgb(176, 69, 206)
HSLhsl(287, 58%, 54%)
HSVhsv(287, 67%, 81%)
CMYKcmyk(14.6%, 66.5%, 0%, 19.2%)
CIE-LABlab(49.43, 62.79, -51.35)
CIE-LCHlch(49.43, 81.11, 320.73°)
OKLaboklab(59.13% 0.1601 -0.1439)
OKLCHoklch(59.13% 0.215 318)
XYZxyz(31.1716, 17.9439, 60.2021)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045CE #63CE45
analogous
#6C45CE #B045CE #CE45A8
triadic
#B045CE #CEB045 #45CEB0
tetradic
#B045CE #CE6C45 #63CE45 #45A8CE
square
#B045CE #CE6C45 #63CE45 #45A8CE
split-complementary
#B045CE #A8CE45 #45CE6C
monochromatic
#652079 #8E2DA9 #B045CE #C575DB #D9A6E8

Accessibility & contrast

On white

4.58
#B045CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B045CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045CE#FFFFFF#000000##000000
##B045CE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#086FD2
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#AF5E84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b045ce;
/* rgb */ color: rgb(176, 69, 206);
/* oklch */ color: oklch(59.1% 0.215 318.0);
Tailwind
colors: {
  custom: {
    50: '#cb81de',
    500: '#b045ce',
    950: '#000000',
  },
}
SCSS
$custom: #b045ce;
$custom-light: #cb81de;
$custom-dark: #000000;
JSON
{
  "hex": "#b045ce",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 286.861,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.21522,
    "h": 318
  },
  "luminance": 0.17943
}

Semantic roles & 50–950 ramp

primary
#B045CE
secondary
#A7D59A
accent
#E24668
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B045CE

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

Preview Lab → · Contrast checker → · Palette generator →

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