#B948DA#B948DA

#B948DA is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.4% C 0.226 H 317.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B948DA
RGBrgb(185, 72, 218)
HSLhsl(286, 66%, 57%)
HSVhsv(286, 67%, 85%)
CMYKcmyk(15.1%, 67%, 0%, 14.5%)
CIE-LABlab(51.85, 65.84, -54.25)
CIE-LCHlch(51.85, 85.32, 320.51°)
OKLaboklab(61.36% 0.167 -0.1521)
OKLCHoklch(61.36% 0.226 317.7)
XYZxyz(34.9780, 20.0124, 68.3364)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948DA #69DA48
analogous
#7048DA #B948DA #DA48B2
triadic
#B948DA #DAB948 #48DAB9
tetradic
#B948DA #DA7048 #69DA48 #48B2DA
square
#B948DA #DA7048 #69DA48 #48B2DA
split-complementary
#B948DA #B2DA48 #48DA70
monochromatic
#721C8B #9C26BE #B948DA #CC7BE4 #E0AEEF

Accessibility & contrast

On white

4.20
#B948DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B948DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948DA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948DA#FFFFFF#000000##000000
##B948DA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#4D7FD7
Tritanopia (blue-blind)
#B8638B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b948da;
/* rgb */ color: rgb(185, 72, 218);
/* oklch */ color: oklch(61.4% 0.226 317.7);
Tailwind
colors: {
  custom: {
    50: '#d283e6',
    500: '#b948da',
    950: '#000000',
  },
}
SCSS
$custom: #b948da;
$custom-light: #d283e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b948da",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 286.438,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.22594,
    "h": 317.7
  },
  "luminance": 0.20011
}

Semantic roles & 50–950 ramp

primary
#B948DA
secondary
#AFDDA1
accent
#E93F65
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B948DA

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

Preview Lab → · Contrast checker → · Palette generator →

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