#B948DE#B948DE

#B948DE is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.230 H 316.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B948DE
RGBrgb(185, 72, 222)
HSLhsl(285, 69%, 58%)
HSVhsv(285, 68%, 87%)
CMYKcmyk(16.7%, 67.6%, 0%, 12.9%)
CIE-LABlab(52.09, 66.62, -56.14)
CIE-LCHlch(52.09, 87.12, 319.88°)
OKLaboklab(61.61% 0.1668 -0.1577)
OKLCHoklch(61.61% 0.23 316.6)
XYZxyz(35.5078, 20.2243, 71.1264)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948DE #6DDE48
analogous
#6E48DE #B948DE #DE48B8
triadic
#B948DE #DEB948 #48DEB9
tetradic
#B948DE #DE6E48 #6DDE48 #48B8DE
square
#B948DE #DE6E48 #6DDE48 #48B8DE
split-complementary
#B948DE #B8DE48 #48DE6E
monochromatic
#741A91 #9D24C5 #B948DE #CD7CE7 #E1B0F1

Accessibility & contrast

On white

4.16
#B948DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B948DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948DE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948DE#FFFFFF#000000##000000
##B948DE1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#4980DB
Tritanopia (blue-blind)
#B7658E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b948de;
/* rgb */ color: rgb(185, 72, 222);
/* oklch */ color: oklch(61.6% 0.230 316.6);
Tailwind
colors: {
  custom: {
    50: '#d283e9',
    500: '#b948de',
    950: '#000000',
  },
}
SCSS
$custom: #b948de;
$custom-light: #d283e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b948de",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 285.2,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.22955,
    "h": 316.6
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B948DE

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

Preview Lab → · Contrast checker → · Palette generator →

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