#B148CF#B148CF

#B148CF is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.7% C 0.213 H 317.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B148CF
RGBrgb(177, 72, 207)
HSLhsl(287, 58%, 55%)
HSVhsv(287, 65%, 81%)
CMYKcmyk(14.5%, 65.2%, 0%, 18.8%)
CIE-LABlab(50.08, 61.94, -50.86)
CIE-LCHlch(50.08, 80.15, 320.61°)
OKLaboklab(59.65% 0.1579 -0.1425)
OKLCHoklch(59.65% 0.213 317.9)
XYZxyz(31.7097, 18.4882, 60.9176)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148CF #66CF48
analogous
#6E48CF #B148CF #CF48A9
triadic
#B148CF #CFB148 #48CFB1
tetradic
#B148CF #CF6E48 #66CF48 #48A9CF
square
#B148CF #CF6E48 #66CF48 #48A9CF
split-complementary
#B148CF #A9CF48 #48CF6E
monochromatic
#68217C #902DAD #B148CF #C678DC #DAA9E8

Accessibility & contrast

On white

4.47
#B148CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B148CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148CF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148CF#FFFFFF#000000##000000
##B148CF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1570D3
Deuteranopia (green-blind)
#4D7ACC
Tritanopia (blue-blind)
#B06086
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b148cf;
/* rgb */ color: rgb(177, 72, 207);
/* oklch */ color: oklch(59.7% 0.213 317.9);
Tailwind
colors: {
  custom: {
    50: '#cc82de',
    500: '#b148cf',
    950: '#000000',
  },
}
SCSS
$custom: #b148cf;
$custom-light: #cc82de;
$custom-dark: #000000;
JSON
{
  "hex": "#b148cf",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 286.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59652,
    "c": 0.21267,
    "h": 317.9
  },
  "luminance": 0.18487
}

Semantic roles & 50–950 ramp

primary
#B148CF
secondary
#AAD69D
accent
#E24669
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B148CF

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

Preview Lab → · Contrast checker → · Palette generator →

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