#B148E2#B148E2

#B148E2 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.230 H 312.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B148E2
RGBrgb(177, 72, 226)
HSLhsl(281, 73%, 58%)
HSVhsv(281, 68%, 89%)
CMYKcmyk(21.7%, 68.1%, 0%, 11.4%)
CIE-LABlab(51.24, 65.73, -59.83)
CIE-LCHlch(51.24, 88.88, 317.69°)
OKLaboklab(60.85% 0.1568 -0.1687)
OKLCHoklch(60.85% 0.23 312.9)
XYZxyz(34.1739, 19.4738, 73.8954)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148E2 #79E248
analogous
#6448E2 #B148E2 #E248C6
triadic
#B148E2 #E2B148 #48E2B1
tetradic
#B148E2 #E26448 #79E248 #48C6E2
square
#B148E2 #E26448 #79E248 #48C6E2
split-complementary
#B148E2 #C6E248 #48E264
monochromatic
#6F1898 #9620CC #B148E2 #C87DEA #DEB2F3

Accessibility & contrast

On white

4.29
#B148E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B148E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148E2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148E2#FFFFFF#000000##000000
##B148E21.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#3B7CDF
Tritanopia (blue-blind)
#AC6890
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b148e2;
/* rgb */ color: rgb(177, 72, 226);
/* oklch */ color: oklch(60.9% 0.230 312.9);
Tailwind
colors: {
  custom: {
    50: '#cd83ec',
    500: '#b148e2',
    950: '#000000',
  },
}
SCSS
$custom: #b148e2;
$custom-light: #cd83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b148e2",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 280.909,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6085,
    "c": 0.23035,
    "h": 312.9
  },
  "luminance": 0.19473
}

Semantic roles & 50–950 ramp

primary
#B148E2
secondary
#B8E1A4
accent
#EF3873
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B148E2

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

Preview Lab → · Contrast checker → · Palette generator →

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