#B045DB#B045DB

#B045DB is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.227 H 314.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B045DB
RGBrgb(176, 69, 219)
HSLhsl(283, 68%, 56%)
HSVhsv(283, 68%, 86%)
CMYKcmyk(19.6%, 68.5%, 0%, 14.1%)
CIE-LABlab(50.22, 65.35, -57.51)
CIE-LCHlch(50.22, 87.05, 318.65°)
OKLaboklab(59.95% 0.1593 -0.1619)
OKLCHoklch(59.95% 0.227 314.5)
XYZxyz(32.8167, 18.6019, 68.8660)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045DB #70DB45
analogous
#6545DB #B045DB #DB45BB
triadic
#B045DB #DBB045 #45DBB0
tetradic
#B045DB #DB6545 #70DB45 #45BBDB
square
#B045DB #DB6545 #70DB45 #45BBDB
split-complementary
#B045DB #BBDB45 #45DB65
monochromatic
#6B1B8B #9225BE #B045DB #C678E5 #DCACEF

Accessibility & contrast

On white

4.45
#B045DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B045DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045DB#FFFFFF#000000##000000
##B045DB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#3F7AD8
Tritanopia (blue-blind)
#AC638B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b045db;
/* rgb */ color: rgb(176, 69, 219);
/* oklch */ color: oklch(60.0% 0.227 314.5);
Tailwind
colors: {
  custom: {
    50: '#cc81e7',
    500: '#b045db',
    950: '#000000',
  },
}
SCSS
$custom: #b045db;
$custom-light: #cc81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b045db",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 282.8,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.22714,
    "h": 314.5
  },
  "luminance": 0.18601
}

Semantic roles & 50–950 ramp

primary
#B045DB
secondary
#B1DD9F
accent
#EA3D6F
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B045DB

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

Preview Lab → · Contrast checker → · Palette generator →

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