#B148D9#B148D9

#B148D9 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.222 H 315.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B148D9
RGBrgb(177, 72, 217)
HSLhsl(283, 66%, 57%)
HSVhsv(283, 67%, 85%)
CMYKcmyk(18.4%, 66.8%, 0%, 14.9%)
CIE-LABlab(50.68, 63.91, -55.62)
CIE-LCHlch(50.68, 84.73, 318.97°)
OKLaboklab(60.27% 0.1575 -0.1564)
OKLCHoklch(60.27% 0.222 315.2)
XYZxyz(32.9712, 18.9928, 67.5613)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148D9 #70D948
analogous
#6948D9 #B148D9 #D948B9
triadic
#B148D9 #D9B148 #48D9B1
tetradic
#B148D9 #D96948 #70D948 #48B9D9
square
#B148D9 #D96948 #70D948 #48B9D9
split-complementary
#B148D9 #B9D948 #48D969
monochromatic
#6C1D8A #9327BD #B148D9 #C77BE4 #DCADEE

Accessibility & contrast

On white

4.38
#B148D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B148D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148D9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148D9#FFFFFF#000000##000000
##B148D91.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#457BD6
Tritanopia (blue-blind)
#AE648B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b148d9;
/* rgb */ color: rgb(177, 72, 217);
/* oklch */ color: oklch(60.3% 0.222 315.2);
Tailwind
colors: {
  custom: {
    50: '#cc83e5',
    500: '#b148d9',
    950: '#000000',
  },
}
SCSS
$custom: #b148d9;
$custom-light: #cc83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b148d9",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 283.448,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60272,
    "c": 0.22195,
    "h": 315.2
  },
  "luminance": 0.18992
}

Semantic roles & 50–950 ramp

primary
#B148D9
secondary
#B1DCA1
accent
#E93F6E
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B148D9

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

Preview Lab → · Contrast checker → · Palette generator →

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