#B948EB#B948EB

#B948EB is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.4% C 0.241 H 313.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B948EB
RGBrgb(185, 72, 235)
HSLhsl(282, 80%, 60%)
HSVhsv(282, 69%, 92%)
CMYKcmyk(21.3%, 69.4%, 0%, 7.8%)
CIE-LABlab(52.89, 69.17, -62.18)
CIE-LCHlch(52.89, 93.01, 318.05°)
OKLaboklab(62.44% 0.1658 -0.1754)
OKLCHoklch(62.44% 0.241 313.4)
XYZxyz(37.3177, 20.9483, 80.6588)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948EB #7AEB48
analogous
#6748EB #B948EB #EB48CC
triadic
#B948EB #EBB948 #48EBB9
tetradic
#B948EB #EB6748 #7AEB48 #48CCEB
square
#B948EB #EB6748 #7AEB48 #48CCEB
split-complementary
#B948EB #CCEB48 #48EB67
monochromatic
#7912A6 #A118DE #B948EB #CE7FF1 #E3B6F7

Accessibility & contrast

On white

4.05
#B948EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B948EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948EB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948EB#FFFFFF#000000##000000
##B948EB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#3C81E7
Tritanopia (blue-blind)
#B46A95
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b948eb;
/* rgb */ color: rgb(185, 72, 235);
/* oklch */ color: oklch(62.4% 0.241 313.4);
Tailwind
colors: {
  custom: {
    50: '#d284f2',
    500: '#b948eb',
    950: '#000000',
  },
}
SCSS
$custom: #b948eb;
$custom-light: #d284f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b948eb",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 281.595,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6244,
    "c": 0.24135,
    "h": 313.4
  },
  "luminance": 0.20947
}

Semantic roles & 50–950 ramp

primary
#B948EB
secondary
#BBE7A8
accent
#DD094A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #B948EB

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

Preview Lab → · Contrast checker → · Palette generator →

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