#B948E5#B948E5

#B948E5 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.1% C 0.236 H 314.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B948E5
RGBrgb(185, 72, 229)
HSLhsl(283, 75%, 59%)
HSVhsv(283, 69%, 90%)
CMYKcmyk(19.2%, 68.6%, 0%, 10.2%)
CIE-LABlab(52.52, 67.98, -59.41)
CIE-LCHlch(52.52, 90.29, 318.85°)
OKLaboklab(62.05% 0.1663 -0.1673)
OKLCHoklch(62.05% 0.236 314.8)
XYZxyz(36.4655, 20.6074, 76.1703)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948E5 #74E548
analogous
#6B48E5 #B948E5 #E548C3
triadic
#B948E5 #E5B948 #48E5B9
tetradic
#B948E5 #E56B48 #74E548 #48C3E5
square
#B948E5 #E56B48 #74E548 #48C3E5
split-complementary
#B948E5 #C3E548 #48E56B
monochromatic
#77169C #9F1ED2 #B948E5 #CD7EED #E2B3F4

Accessibility & contrast

On white

4.10
#B948E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B948E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948E5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948E5#FFFFFF#000000##000000
##B948E51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#4380E1
Tritanopia (blue-blind)
#B56891
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b948e5;
/* rgb */ color: rgb(185, 72, 229);
/* oklch */ color: oklch(62.1% 0.236 314.8);
Tailwind
colors: {
  custom: {
    50: '#d284ee',
    500: '#b948e5',
    950: '#000000',
  },
}
SCSS
$custom: #b948e5;
$custom-light: #d284ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b948e5",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 283.185,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62051,
    "c": 0.23589,
    "h": 314.8
  },
  "luminance": 0.20606
}

Semantic roles & 50–950 ramp

primary
#B948E5
secondary
#B7E3A6
accent
#F2366B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B948E5

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

Preview Lab → · Contrast checker → · Palette generator →

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