#B148CE#B148CE

#B148CE is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.6% C 0.212 H 318.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B148CE
RGBrgb(177, 72, 206)
HSLhsl(287, 58%, 55%)
HSVhsv(287, 65%, 81%)
CMYKcmyk(14.1%, 65%, 0%, 19.2%)
CIE-LABlab(50.02, 61.75, -50.38)
CIE-LCHlch(50.02, 79.69, 320.79°)
OKLaboklab(59.59% 0.1579 -0.1411)
OKLCHoklch(59.59% 0.212 318.2)
XYZxyz(31.5879, 18.4394, 60.2758)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148CE #65CE48
analogous
#6E48CE #B148CE #CE48A8
triadic
#B148CE #CEB148 #48CEB1
tetradic
#B148CE #CE6E48 #65CE48 #48A8CE
square
#B148CE #CE6E48 #65CE48 #48A8CE
split-complementary
#B148CE #A8CE48 #48CE6E
monochromatic
#67217B #902EAB #B148CE #C678DB #DAA9E8

Accessibility & contrast

On white

4.48
#B148CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B148CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148CE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148CE#FFFFFF#000000##000000
##B148CE1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1770D2
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#B06085
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b148ce;
/* rgb */ color: rgb(177, 72, 206);
/* oklch */ color: oklch(59.6% 0.212 318.2);
Tailwind
colors: {
  custom: {
    50: '#cc82dd',
    500: '#b148ce',
    950: '#000000',
  },
}
SCSS
$custom: #b148ce;
$custom-light: #cc82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b148ce",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 287.015,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59592,
    "c": 0.21175,
    "h": 318.2
  },
  "luminance": 0.18438
}

Semantic roles & 50–950 ramp

primary
#B148CE
secondary
#A9D59D
accent
#E14768
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B148CE

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

Preview Lab → · Contrast checker → · Palette generator →

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