#B148DD#B148DD

#B148DD is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.5% C 0.226 H 314.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B148DD
RGBrgb(177, 72, 221)
HSLhsl(282, 69%, 57%)
HSVhsv(282, 67%, 87%)
CMYKcmyk(19.9%, 67.4%, 0%, 13.3%)
CIE-LABlab(50.92, 64.71, -57.50)
CIE-LCHlch(50.92, 86.57, 318.38°)
OKLaboklab(60.53% 0.1572 -0.1619)
OKLCHoklch(60.53% 0.226 314.2)
XYZxyz(33.4978, 19.2034, 70.3347)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148DD #74DD48
analogous
#6748DD #B148DD #DD48BE
triadic
#B148DD #DDB148 #48DDB1
tetradic
#B148DD #DD6748 #74DD48 #48BEDD
square
#B148DD #DD6748 #74DD48 #48BEDD
split-complementary
#B148DD #BEDD48 #48DD67
monochromatic
#6D1B90 #9424C3 #B148DD #C77CE7 #DDAFF0

Accessibility & contrast

On white

4.34
#B148DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B148DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148DD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148DD#FFFFFF#000000##000000
##B148DD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#AD668D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b148dd;
/* rgb */ color: rgb(177, 72, 221);
/* oklch */ color: oklch(60.5% 0.226 314.2);
Tailwind
colors: {
  custom: {
    50: '#cc83e8',
    500: '#b148dd',
    950: '#000000',
  },
}
SCSS
$custom: #b148dd;
$custom-light: #cc83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b148dd",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 282.282,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.22568,
    "h": 314.2
  },
  "luminance": 0.19202
}

Semantic roles & 50–950 ramp

primary
#B148DD
secondary
#B4DEA2
accent
#EC3C70
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B148DD

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

Preview Lab → · Contrast checker → · Palette generator →

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