#B948DD#B948DD

#B948DD is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.229 H 316.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B948DD
RGBrgb(185, 72, 221)
HSLhsl(286, 69%, 57%)
HSVhsv(286, 67%, 87%)
CMYKcmyk(16.3%, 67.4%, 0%, 13.3%)
CIE-LABlab(52.03, 66.42, -55.67)
CIE-LCHlch(52.03, 86.67, 320.03°)
OKLaboklab(61.55% 0.1669 -0.1563)
OKLCHoklch(61.55% 0.229 316.9)
XYZxyz(35.3742, 20.1709, 70.4226)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948DD #6CDD48
analogous
#6E48DD #B948DD #DD48B7
triadic
#B948DD #DDB948 #48DDB9
tetradic
#B948DD #DD6E48 #6CDD48 #48B7DD
square
#B948DD #DD6E48 #6CDD48 #48B7DD
split-complementary
#B948DD #B7DD48 #48DD6E
monochromatic
#741B90 #9D24C3 #B948DD #CD7CE7 #E0AFF0

Accessibility & contrast

On white

4.17
#B948DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B948DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948DD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948DD#FFFFFF#000000##000000
##B948DD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#4A7FDA
Tritanopia (blue-blind)
#B7658D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b948dd;
/* rgb */ color: rgb(185, 72, 221);
/* oklch */ color: oklch(61.5% 0.229 316.9);
Tailwind
colors: {
  custom: {
    50: '#d283e8',
    500: '#b948dd',
    950: '#000000',
  },
}
SCSS
$custom: #b948dd;
$custom-light: #d283e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b948dd",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 285.503,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61547,
    "c": 0.22865,
    "h": 316.9
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#B948DD
secondary
#B1DEA2
accent
#EC3C67
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B948DD

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

Preview Lab → · Contrast checker → · Palette generator →

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