#B948DB#B948DB

#B948DB is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.4% C 0.227 H 317.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B948DB
RGBrgb(185, 72, 219)
HSLhsl(286, 67%, 57%)
HSVhsv(286, 67%, 86%)
CMYKcmyk(15.5%, 67.1%, 0%, 14.1%)
CIE-LABlab(51.91, 66.04, -54.72)
CIE-LCHlch(51.91, 85.77, 320.35°)
OKLaboklab(61.42% 0.167 -0.1535)
OKLCHoklch(61.42% 0.227 317.4)
XYZxyz(35.1093, 20.0649, 69.0276)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948DB #6ADB48
analogous
#6F48DB #B948DB #DB48B4
triadic
#B948DB #DBB948 #48DBB9
tetradic
#B948DB #DB6F48 #6ADB48 #48B4DB
square
#B948DB #DB6F48 #6ADB48 #48B4DB
split-complementary
#B948DB #B4DB48 #48DB6F
monochromatic
#731C8D #9C26C0 #B948DB #CD7BE5 #E0AEEF

Accessibility & contrast

On white

4.19
#B948DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B948DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948DB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948DB#FFFFFF#000000##000000
##B948DB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#4C7FD8
Tritanopia (blue-blind)
#B8648C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b948db;
/* rgb */ color: rgb(185, 72, 219);
/* oklch */ color: oklch(61.4% 0.227 317.4);
Tailwind
colors: {
  custom: {
    50: '#d283e7',
    500: '#b948db',
    950: '#000000',
  },
}
SCSS
$custom: #b948db;
$custom-light: #d283e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b948db",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 286.122,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.22683,
    "h": 317.4
  },
  "luminance": 0.20063
}

Semantic roles & 50–950 ramp

primary
#B948DB
secondary
#AFDDA2
accent
#EA3E66
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B948DB

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

Preview Lab → · Contrast checker → · Palette generator →

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