#B045DE#B045DE

#B045DE is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.230 H 313.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B045DE
RGBrgb(176, 69, 222)
HSLhsl(282, 70%, 57%)
HSVhsv(282, 69%, 87%)
CMYKcmyk(20.7%, 68.9%, 0%, 12.9%)
CIE-LABlab(50.41, 65.95, -58.91)
CIE-LCHlch(50.41, 88.43, 318.23°)
OKLaboklab(60.15% 0.159 -0.166)
OKLCHoklch(60.15% 0.23 313.8)
XYZxyz(33.2152, 18.7613, 70.9647)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045DE #73DE45
analogous
#6445DE #B045DE #DE45BF
triadic
#B045DE #DEB045 #45DEB0
tetradic
#B045DE #DE6445 #73DE45 #45BFDE
square
#B045DE #DE6445 #73DE45 #45BFDE
split-complementary
#B045DE #BFDE45 #45DE64
monochromatic
#6C198F #9323C3 #B045DE #C679E7 #DCADF0

Accessibility & contrast

On white

4.42
#B045DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B045DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045DE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045DE#FFFFFF#000000##000000
##B045DE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#3B7ADB
Tritanopia (blue-blind)
#AC658D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b045de;
/* rgb */ color: rgb(176, 69, 222);
/* oklch */ color: oklch(60.1% 0.230 313.8);
Tailwind
colors: {
  custom: {
    50: '#cc81e9',
    500: '#b045de',
    950: '#000000',
  },
}
SCSS
$custom: #b045de;
$custom-light: #cc81e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b045de",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 281.961,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.22991,
    "h": 313.8
  },
  "luminance": 0.1876
}

Semantic roles & 50–950 ramp

primary
#B045DE
secondary
#B3DFA0
accent
#ED3B71
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B045DE

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

Preview Lab → · Contrast checker → · Palette generator →

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