#B148D7#B148D7

#B148D7 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.1% C 0.220 H 315.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B148D7
RGBrgb(177, 72, 215)
HSLhsl(284, 64%, 56%)
HSVhsv(284, 67%, 84%)
CMYKcmyk(17.7%, 66.5%, 0%, 15.7%)
CIE-LABlab(50.56, 63.51, -54.68)
CIE-LCHlch(50.56, 83.81, 319.28°)
OKLaboklab(60.15% 0.1576 -0.1536)
OKLCHoklch(60.15% 0.22 315.7)
XYZxyz(32.7126, 18.8893, 66.1996)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148D7 #6ED748
analogous
#6A48D7 #B148D7 #D748B6
triadic
#B148D7 #D7B148 #48D7B1
tetradic
#B148D7 #D76A48 #6ED748 #48B6D7
square
#B148D7 #D76A48 #6ED748 #48B6D7
split-complementary
#B148D7 #B6D748 #48D76A
monochromatic
#6B1E87 #9329B9 #B148D7 #C67AE2 #DCACED

Accessibility & contrast

On white

4.40
#B148D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B148D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148D7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148D7#FFFFFF#000000##000000
##B148D71.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#477BD4
Tritanopia (blue-blind)
#AE648A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b148d7;
/* rgb */ color: rgb(177, 72, 215);
/* oklch */ color: oklch(60.1% 0.220 315.7);
Tailwind
colors: {
  custom: {
    50: '#cc82e4',
    500: '#b148d7',
    950: '#000000',
  },
}
SCSS
$custom: #b148d7;
$custom-light: #cc82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b148d7",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 284.056,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60146,
    "c": 0.22008,
    "h": 315.7
  },
  "luminance": 0.18888
}

Semantic roles & 50–950 ramp

primary
#B148D7
secondary
#B0DBA0
accent
#E7416D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B148D7

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

Preview Lab → · Contrast checker → · Palette generator →

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