#B145E1#B145E1

#B145E1 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.233 H 313.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B145E1
RGBrgb(177, 69, 225)
HSLhsl(282, 72%, 58%)
HSVhsv(282, 69%, 88%)
CMYKcmyk(21.3%, 69.3%, 0%, 11.8%)
CIE-LABlab(50.73, 66.76, -60.08)
CIE-LCHlch(50.73, 89.81, 318.02°)
OKLaboklab(60.47% 0.16 -0.1694)
OKLCHoklch(60.47% 0.233 313.4)
XYZxyz(33.8478, 19.0406, 73.1118)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145E1 #75E145
analogous
#6345E1 #B145E1 #E145C3
triadic
#B145E1 #E1B145 #45E1B1
tetradic
#B145E1 #E16345 #75E145 #45C3E1
square
#B145E1 #E16345 #75E145 #45C3E1
split-complementary
#B145E1 #C3E145 #45E163
monochromatic
#6E1894 #9520C8 #B145E1 #C77AE9 #DDAEF2

Accessibility & contrast

On white

4.37
#B145E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B145E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145E1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145E1#FFFFFF#000000##000000
##B145E11.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#397BDE
Tritanopia (blue-blind)
#AC668E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b145e1;
/* rgb */ color: rgb(177, 69, 225);
/* oklch */ color: oklch(60.5% 0.233 313.4);
Tailwind
colors: {
  custom: {
    50: '#cd81eb',
    500: '#b145e1',
    950: '#000000',
  },
}
SCSS
$custom: #b145e1;
$custom-light: #cd81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b145e1",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 281.538,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60471,
    "c": 0.23302,
    "h": 313.4
  },
  "luminance": 0.1904
}

Semantic roles & 50–950 ramp

primary
#B145E1
secondary
#B5E0A2
accent
#EF3971
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B145E1

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

Preview Lab → · Contrast checker → · Palette generator →

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