#B848EB#B848EB

#B848EB is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.3% C 0.241 H 313.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B848EB
RGBrgb(184, 72, 235)
HSLhsl(281, 80%, 60%)
HSVhsv(281, 69%, 92%)
CMYKcmyk(21.7%, 69.4%, 0%, 7.8%)
CIE-LABlab(52.76, 68.97, -62.41)
CIE-LCHlch(52.76, 93.02, 317.86°)
OKLaboklab(62.31% 0.1646 -0.1761)
OKLCHoklch(62.31% 0.241 313.1)
XYZxyz(37.0773, 20.8243, 80.6475)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B848EB #7BEB48
analogous
#6648EB #B848EB #EB48CD
triadic
#B848EB #EBB848 #48EBB8
tetradic
#B848EB #EB6648 #7BEB48 #48CDEB
square
#B848EB #EB6648 #7BEB48 #48CDEB
split-complementary
#B848EB #CDEB48 #48EB66
monochromatic
#7812A6 #A018DE #B848EB #CD7FF1 #E3B6F7

Accessibility & contrast

On white

4.07
#B848EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B848EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B848EB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B848EB#FFFFFF#000000##000000
##B848EB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b848eb;
/* rgb */ color: rgb(184, 72, 235);
/* oklch */ color: oklch(62.3% 0.241 313.1);
Tailwind
colors: {
  custom: {
    50: '#d284f2',
    500: '#b848eb',
    950: '#000000',
  },
}
SCSS
$custom: #b848eb;
$custom-light: #d284f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b848eb",
  "rgb": {
    "r": 184,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 281.227,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62314,
    "c": 0.24102,
    "h": 313.1
  },
  "luminance": 0.20823
}

Semantic roles & 50–950 ramp

primary
#B848EB
secondary
#BCE7A8
accent
#DD094B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #B848EB

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

Preview Lab → · Contrast checker → · Palette generator →

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