#B148E5#B148E5

#B148E5 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.233 H 312.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B148E5
RGBrgb(177, 72, 229)
HSLhsl(280, 75%, 59%)
HSVhsv(280, 69%, 90%)
CMYKcmyk(22.7%, 68.6%, 0%, 10.2%)
CIE-LABlab(51.43, 66.34, -61.22)
CIE-LCHlch(51.43, 90.27, 317.30°)
OKLaboklab(61.05% 0.1565 -0.1728)
OKLCHoklch(61.05% 0.233 312.2)
XYZxyz(34.5891, 19.6399, 76.0823)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148E5 #7CE548
analogous
#6348E5 #B148E5 #E548CB
triadic
#B148E5 #E5B148 #48E5B1
tetradic
#B148E5 #E56348 #7CE548 #48CBE5
square
#B148E5 #E56348 #7CE548 #48CBE5
split-complementary
#B148E5 #CBE548 #48E563
monochromatic
#70169C #961ED2 #B148E5 #C87EED #DFB3F4

Accessibility & contrast

On white

4.26
#B148E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B148E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148E5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148E5#FFFFFF#000000##000000
##B148E51.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#AB6991
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b148e5;
/* rgb */ color: rgb(177, 72, 229);
/* oklch */ color: oklch(61.0% 0.233 312.2);
Tailwind
colors: {
  custom: {
    50: '#cd83ee',
    500: '#b148e5',
    950: '#000000',
  },
}
SCSS
$custom: #b148e5;
$custom-light: #cd83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b148e5",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 280.127,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61047,
    "c": 0.23316,
    "h": 312.2
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#B148E5
secondary
#BAE3A6
accent
#F23674
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B148E5

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

Preview Lab → · Contrast checker → · Palette generator →

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