#B948D3#B948D3

#B948D3 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.9% C 0.220 H 319.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B948D3
RGBrgb(185, 72, 211)
HSLhsl(289, 61%, 55%)
HSVhsv(289, 66%, 83%)
CMYKcmyk(12.3%, 65.9%, 0%, 17.3%)
CIE-LABlab(51.44, 64.51, -50.91)
CIE-LCHlch(51.44, 82.18, 321.72°)
OKLaboklab(60.94% 0.1673 -0.1424)
OKLCHoklch(60.94% 0.22 319.6)
XYZxyz(34.0813, 19.6538, 63.6137)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948D3 #62D348
analogous
#7348D3 #B948D3 #D348A7
triadic
#B948D3 #D3B948 #48D3B9
tetradic
#B948D3 #D37348 #62D348 #48A7D3
square
#B948D3 #D37348 #62D348 #48A7D3
split-complementary
#B948D3 #A7D348 #48D373
monochromatic
#6F1F81 #992BB3 #B948D3 #CC79DF #DFABEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B948D3#FFFFFF#000000##000000
##B948D31.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)
#1773D7
Deuteranopia (green-blind)
#537ED0
Tritanopia (blue-blind)
#B96188
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b948d3;
/* rgb */ color: rgb(185, 72, 211);
/* oklch */ color: oklch(60.9% 0.220 319.6);
Tailwind
colors: {
  custom: {
    50: '#d283e1',
    500: '#b948d3',
    950: '#000000',
  },
}
SCSS
$custom: #b948d3;
$custom-light: #d283e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b948d3",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 288.777,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60937,
    "c": 0.21966,
    "h": 319.6
  },
  "luminance": 0.19652
}

Semantic roles & 50–950 ramp

primary
#B948D3
secondary
#A9D89E
accent
#E44362
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B948D3

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

Preview Lab → · Contrast checker → · Palette generator →

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