#B148DF#B148DF

#B148DF is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.228 H 313.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B148DF
RGBrgb(177, 72, 223)
HSLhsl(282, 70%, 58%)
HSVhsv(282, 68%, 87%)
CMYKcmyk(20.6%, 67.7%, 0%, 12.5%)
CIE-LABlab(51.05, 65.12, -58.44)
CIE-LCHlch(51.05, 87.49, 318.09°)
OKLaboklab(60.66% 0.1571 -0.1647)
OKLCHoklch(60.66% 0.228 313.6)
XYZxyz(33.7658, 19.3106, 71.7464)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B148DF #76DF48
analogous
#6548DF #B148DF #DF48C1
triadic
#B148DF #DFB148 #48DFB1
tetradic
#B148DF #DF6548 #76DF48 #48C1DF
square
#B148DF #DF6548 #76DF48 #48C1DF
split-complementary
#B148DF #C1DF48 #48DF65
monochromatic
#6E1A93 #9523C7 #B148DF #C77CE8 #DDB0F1

Accessibility & contrast

On white

4.32
#B148DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B148DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B148DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B148DF#FFFFFF#000000##000000
##B148DF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3F7CDC
Tritanopia (blue-blind)
#AC678E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b148df;
/* rgb */ color: rgb(177, 72, 223);
/* oklch */ color: oklch(60.7% 0.228 313.6);
Tailwind
colors: {
  custom: {
    50: '#cc83ea',
    500: '#b148df',
    950: '#000000',
  },
}
SCSS
$custom: #b148df;
$custom-light: #cc83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b148df",
  "rgb": {
    "r": 177,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 281.722,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60655,
    "c": 0.22755,
    "h": 313.6
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#B148DF
secondary
#B6E0A3
accent
#ED3B71
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B148DF

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

Preview Lab → · Contrast checker → · Palette generator →

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