#B148E0#B148E0

#B148E0 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.228 H 313.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B148E0
RGBrgb(177, 72, 224)
HSLhsl(281, 71%, 58%)
HSVhsv(281, 68%, 88%)
CMYKcmyk(21%, 67.9%, 0%, 12.2%)
CIE-LABlab(51.11, 65.32, -58.90)
CIE-LCHlch(51.11, 87.95, 317.96°)
OKLaboklab(60.72% 0.157 -0.166)
OKLCHoklch(60.72% 0.228 313.4)
XYZxyz(33.9010, 19.3647, 72.4585)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148E0 #77E048
analogous
#6548E0 #B148E0 #E048C3
triadic
#B148E0 #E0B148 #48E0B1
tetradic
#B148E0 #E06548 #77E048 #48C3E0
square
#B148E0 #E06548 #77E048 #48C3E0
split-complementary
#B148E0 #C3E048 #48E065
monochromatic
#6E1994 #9522C9 #B148E0 #C77CE9 #DEB1F2

Accessibility & contrast

On white

4.31
#B148E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B148E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148E0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148E0#FFFFFF#000000##000000
##B148E01.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#3D7CDD
Tritanopia (blue-blind)
#AC678F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b148e0;
/* rgb */ color: rgb(177, 72, 224);
/* oklch */ color: oklch(60.7% 0.228 313.4);
Tailwind
colors: {
  custom: {
    50: '#cc83ea',
    500: '#b148e0',
    950: '#000000',
  },
}
SCSS
$custom: #b148e0;
$custom-light: #cc83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b148e0",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 281.447,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.22848,
    "h": 313.4
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#B148E0
secondary
#B6E0A4
accent
#EE3A72
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B148E0

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

Preview Lab → · Contrast checker → · Palette generator →

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