#B145E6#B145E6

#B145E6 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.8% C 0.238 H 312.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B145E6
RGBrgb(177, 69, 230)
HSLhsl(280, 76%, 59%)
HSVhsv(280, 70%, 90%)
CMYKcmyk(23%, 70%, 0%, 9.8%)
CIE-LABlab(51.06, 67.77, -62.38)
CIE-LCHlch(51.06, 92.11, 317.37°)
OKLaboklab(60.8% 0.1594 -0.1762)
OKLCHoklch(60.8% 0.238 312.1)
XYZxyz(34.5399, 19.3175, 76.7567)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145E6 #7AE645
analogous
#6045E6 #B145E6 #E645CB
triadic
#B145E6 #E6B145 #45E6B1
tetradic
#B145E6 #E66045 #7AE645 #45CBE6
square
#B145E6 #E66045 #7AE645 #45CBE6
split-complementary
#B145E6 #CBE645 #45E660
monochromatic
#6F159C #961CD2 #B145E6 #C87BED #DEB1F5

Accessibility & contrast

On white

4.32
#B145E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B145E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145E6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145E6#FFFFFF#000000##000000
##B145E61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#327CE2
Tritanopia (blue-blind)
#AB6891
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b145e6;
/* rgb */ color: rgb(177, 69, 230);
/* oklch */ color: oklch(60.8% 0.238 312.1);
Tailwind
colors: {
  custom: {
    50: '#cd81ef',
    500: '#b145e6',
    950: '#000000',
  },
}
SCSS
$custom: #b145e6;
$custom-light: #cd81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b145e6",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 280.248,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60803,
    "c": 0.23764,
    "h": 312.1
  },
  "luminance": 0.19317
}

Semantic roles & 50–950 ramp

primary
#B145E6
secondary
#B9E3A4
accent
#F33573
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B145E6

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

Preview Lab → · Contrast checker → · Palette generator →

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