#B148D4#B148D4

#B148D4 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.217 H 316.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B148D4
RGBrgb(177, 72, 212)
HSLhsl(285, 62%, 56%)
HSVhsv(285, 66%, 83%)
CMYKcmyk(16.5%, 66%, 0%, 16.9%)
CIE-LABlab(50.38, 62.92, -53.25)
CIE-LCHlch(50.38, 82.43, 319.76°)
OKLaboklab(59.96% 0.1577 -0.1495)
OKLCHoklch(59.96% 0.217 316.5)
XYZxyz(32.3307, 18.7366, 64.1881)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148D4 #6BD448
analogous
#6B48D4 #B148D4 #D448B1
triadic
#B148D4 #D4B148 #48D4B1
tetradic
#B148D4 #D46B48 #6BD448 #48B1D4
square
#B148D4 #D46B48 #6BD448 #48B1D4
split-complementary
#B148D4 #B1D448 #48D46B
monochromatic
#6A1F83 #922AB4 #B148D4 #C67AE0 #DBABEB

Accessibility & contrast

On white

4.42
#B148D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B148D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148D4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148D4#FFFFFF#000000##000000
##B148D41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0171D8
Deuteranopia (green-blind)
#497BD1
Tritanopia (blue-blind)
#AF6288
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b148d4;
/* rgb */ color: rgb(177, 72, 212);
/* oklch */ color: oklch(60.0% 0.217 316.5);
Tailwind
colors: {
  custom: {
    50: '#cc82e2',
    500: '#b148d4',
    950: '#000000',
  },
}
SCSS
$custom: #b148d4;
$custom-light: #cc82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b148d4",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 285,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.21729,
    "h": 316.5
  },
  "luminance": 0.18735
}

Semantic roles & 50–950 ramp

primary
#B148D4
secondary
#ADD99F
accent
#E5436B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B148D4

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

Preview Lab → · Contrast checker → · Palette generator →

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