#B148CC#B148CC

#B148CC is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.210 H 318.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B148CC
RGBrgb(177, 72, 204)
HSLhsl(288, 56%, 54%)
HSVhsv(288, 65%, 80%)
CMYKcmyk(13.2%, 64.7%, 0%, 20%)
CIE-LABlab(49.91, 61.36, -49.42)
CIE-LCHlch(49.91, 78.79, 321.15°)
OKLaboklab(59.47% 0.158 -0.1383)
OKLCHoklch(59.47% 0.21 318.8)
XYZxyz(31.3465, 18.3429, 59.0044)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148CC #63CC48
analogous
#6F48CC #B148CC #CC48A5
triadic
#B148CC #CCB148 #48CCB1
tetradic
#B148CC #CC6F48 #63CC48 #48A5CC
square
#B148CC #CC6F48 #63CC48 #48A5CC
split-complementary
#B148CC #A5CC48 #48CC6F
monochromatic
#662178 #8F2FA8 #B148CC #C578D9 #DAA8E7

Accessibility & contrast

On white

4.50
#B148CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B148CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148CC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148CC#FFFFFF#000000##000000
##B148CC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#507AC9
Tritanopia (blue-blind)
#B15F84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b148cc;
/* rgb */ color: rgb(177, 72, 204);
/* oklch */ color: oklch(59.5% 0.210 318.8);
Tailwind
colors: {
  custom: {
    50: '#cc82dc',
    500: '#b148cc',
    950: '#000000',
  },
}
SCSS
$custom: #b148cc;
$custom-light: #cc82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b148cc",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 287.727,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.20991,
    "h": 318.8
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#B148CC
secondary
#A7D49C
accent
#E04867
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B148CC

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

Preview Lab → · Contrast checker → · Palette generator →

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