#B148CA#B148CA

#B148CA is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.208 H 319.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B148CA
RGBrgb(177, 72, 202)
HSLhsl(288, 55%, 54%)
HSVhsv(288, 64%, 79%)
CMYKcmyk(12.4%, 64.4%, 0%, 20.8%)
CIE-LABlab(49.79, 60.97, -48.45)
CIE-LCHlch(49.79, 77.88, 321.53°)
OKLaboklab(59.35% 0.158 -0.1354)
OKLCHoklch(59.35% 0.208 319.4)
XYZxyz(31.1081, 18.2475, 57.7492)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148CA #61CA48
analogous
#7048CA #B148CA #CA48A2
triadic
#B148CA #CAB148 #48CAB1
tetradic
#B148CA #CA7048 #61CA48 #48A2CA
square
#B148CA #CA7048 #61CA48 #48A2CA
split-complementary
#B148CA #A2CA48 #48CA70
monochromatic
#652276 #8E30A5 #B148CA #C577D8 #D9A7E5

Accessibility & contrast

On white

4.52
#B148CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B148CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148CA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148CA#FFFFFF#000000##000000
##B148CA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#B15E83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b148ca;
/* rgb */ color: rgb(177, 72, 202);
/* oklch */ color: oklch(59.4% 0.208 319.4);
Tailwind
colors: {
  custom: {
    50: '#cc82db',
    500: '#b148ca',
    950: '#000000',
  },
}
SCSS
$custom: #b148ca;
$custom-light: #cc82db;
$custom-dark: #000000;
JSON
{
  "hex": "#b148ca",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 288.462,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.20808,
    "h": 319.4
  },
  "luminance": 0.18246
}

Semantic roles & 50–950 ramp

primary
#B148CA
secondary
#A6D39B
accent
#DE4966
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B148CA

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

Preview Lab → · Contrast checker → · Palette generator →

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