#B148D2#B148D2

#B148D2 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.215 H 317.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B148D2
RGBrgb(177, 72, 210)
HSLhsl(286, 61%, 55%)
HSVhsv(286, 66%, 82%)
CMYKcmyk(15.7%, 65.7%, 0%, 17.6%)
CIE-LABlab(50.26, 62.53, -52.30)
CIE-LCHlch(50.26, 81.52, 320.09°)
OKLaboklab(59.84% 0.1578 -0.1467)
OKLCHoklch(59.84% 0.215 317.1)
XYZxyz(32.0800, 18.6363, 62.8676)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148D2 #69D248
analogous
#6C48D2 #B148D2 #D248AE
triadic
#B148D2 #D2B148 #48D2B1
tetradic
#B148D2 #D26C48 #69D248 #48AED2
square
#B148D2 #D26C48 #69D248 #48AED2
split-complementary
#B148D2 #AED248 #48D26C
monochromatic
#692080 #912CB1 #B148D2 #C679DE #DBAAEA

Accessibility & contrast

On white

4.44
#B148D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B148D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148D2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148D2#FFFFFF#000000##000000
##B148D21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A71D6
Deuteranopia (green-blind)
#4B7BCF
Tritanopia (blue-blind)
#B06287
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b148d2;
/* rgb */ color: rgb(177, 72, 210);
/* oklch */ color: oklch(59.8% 0.215 317.1);
Tailwind
colors: {
  custom: {
    50: '#cc82e0',
    500: '#b148d2',
    950: '#000000',
  },
}
SCSS
$custom: #b148d2;
$custom-light: #cc82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b148d2",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 285.652,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.21544,
    "h": 317.1
  },
  "luminance": 0.18635
}

Semantic roles & 50–950 ramp

primary
#B148D2
secondary
#ACD89E
accent
#E4446A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B148D2

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

Preview Lab → · Contrast checker → · Palette generator →

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