#B948CD#B948CD

#B948CD is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.214 H 321.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B948CD
RGBrgb(185, 72, 205)
HSLhsl(291, 57%, 54%)
HSVhsv(291, 65%, 80%)
CMYKcmyk(9.8%, 64.9%, 0%, 19.6%)
CIE-LABlab(51.10, 63.39, -48.02)
CIE-LCHlch(51.10, 79.53, 322.86°)
OKLaboklab(60.58% 0.1673 -0.134)
OKLCHoklch(60.58% 0.214 321.3)
XYZxyz(33.3432, 19.3585, 59.7260)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948CD #5CCD48
analogous
#7648CD #B948CD #CD489F
triadic
#B948CD #CDB948 #48CDB9
tetradic
#B948CD #CD7648 #5CCD48 #489FCD
square
#B948CD #CD7648 #5CCD48 #489FCD
split-complementary
#B948CD #9FCD48 #48CD76
monochromatic
#6C2179 #972EA9 #B948CD #CB78DA #DEA8E7

Accessibility & contrast

On white

4.31
#B948CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B948CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948CD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948CD#FFFFFF#000000##000000
##B948CD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2372D1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#BB5E84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b948cd;
/* rgb */ color: rgb(185, 72, 205);
/* oklch */ color: oklch(60.6% 0.214 321.3);
Tailwind
colors: {
  custom: {
    50: '#d183dd',
    500: '#b948cd',
    950: '#000000',
  },
}
SCSS
$custom: #b948cd;
$custom-light: #d183dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b948cd",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 290.977,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60583,
    "c": 0.21434,
    "h": 321.3
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#B948CD
secondary
#A5D59C
accent
#E0475E
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B948CD

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

Preview Lab → · Contrast checker → · Palette generator →

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