#B145DB#B145DB

#B145DB is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.1% C 0.228 H 314.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B145DB
RGBrgb(177, 69, 219)
HSLhsl(283, 68%, 56%)
HSVhsv(283, 68%, 86%)
CMYKcmyk(19.2%, 68.5%, 0%, 14.1%)
CIE-LABlab(50.36, 65.56, -57.28)
CIE-LCHlch(50.36, 87.05, 318.86°)
OKLaboklab(60.08% 0.1605 -0.1612)
OKLCHoklch(60.08% 0.228 314.9)
XYZxyz(33.0437, 18.7190, 68.8766)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145DB #6FDB45
analogous
#6645DB #B145DB #DB45BA
triadic
#B145DB #DBB145 #45DBB1
tetradic
#B145DB #DB6645 #6FDB45 #45BADB
square
#B145DB #DB6645 #6FDB45 #45BADB
split-complementary
#B145DB #BADB45 #45DB66
monochromatic
#6B1B8B #9325BE #B145DB #C778E5 #DCACEF

Accessibility & contrast

On white

4.43
#B145DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B145DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145DB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145DB#FFFFFF#000000##000000
##B145DB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#AE638B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b145db;
/* rgb */ color: rgb(177, 69, 219);
/* oklch */ color: oklch(60.1% 0.228 314.9);
Tailwind
colors: {
  custom: {
    50: '#cc81e7',
    500: '#b145db',
    950: '#000000',
  },
}
SCSS
$custom: #b145db;
$custom-light: #cc81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b145db",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 283.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6008,
    "c": 0.22751,
    "h": 314.9
  },
  "luminance": 0.18718
}

Semantic roles & 50–950 ramp

primary
#B145DB
secondary
#B0DD9F
accent
#EA3D6E
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B145DB

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

Preview Lab → · Contrast checker → · Palette generator →

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