#B848E5#B848E5

#B848E5 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.9% C 0.236 H 314.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B848E5
RGBrgb(184, 72, 229)
HSLhsl(283, 75%, 59%)
HSVhsv(283, 69%, 90%)
CMYKcmyk(19.7%, 68.6%, 0%, 10.2%)
CIE-LABlab(52.38, 67.78, -59.64)
CIE-LCHlch(52.38, 90.28, 318.65°)
OKLaboklab(61.93% 0.1651 -0.168)
OKLCHoklch(61.93% 0.236 314.5)
XYZxyz(36.2250, 20.4834, 76.1590)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B848E5 #75E548
analogous
#6A48E5 #B848E5 #E548C3
triadic
#B848E5 #E5B848 #48E5B8
tetradic
#B848E5 #E56A48 #75E548 #48C3E5
square
#B848E5 #E56A48 #75E548 #48C3E5
split-complementary
#B848E5 #C3E548 #48E56A
monochromatic
#76169C #9E1ED2 #B848E5 #CD7EED #E2B3F4

Accessibility & contrast

On white

4.12
#B848E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B848E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B848E5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B848E5#FFFFFF#000000##000000
##B848E51.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b848e5;
/* rgb */ color: rgb(184, 72, 229);
/* oklch */ color: oklch(61.9% 0.236 314.5);
Tailwind
colors: {
  custom: {
    50: '#d184ee',
    500: '#b848e5',
    950: '#000000',
  },
}
SCSS
$custom: #b848e5;
$custom-light: #d184ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b848e5",
  "rgb": {
    "r": 184,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 282.803,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61925,
    "c": 0.23553,
    "h": 314.5
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B848E5

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

Preview Lab → · Contrast checker → · Palette generator →

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