#B848FB#B848FB

#B848FB is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 63.4% C 0.256 H 309.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B848FB
RGBrgb(184, 72, 251)
HSLhsl(278, 96%, 63%)
HSVhsv(278, 71%, 98%)
CMYKcmyk(26.7%, 71.3%, 0%, 1.6%)
CIE-LABlab(53.80, 72.23, -69.66)
CIE-LCHlch(53.80, 100.35, 316.04°)
OKLaboklab(63.39% 0.1626 -0.1974)
OKLCHoklch(63.39% 0.256 309.5)
XYZxyz(39.4936, 21.7909, 93.3736)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B848FB #8BFB48
analogous
#5E48FB #B848FB #FB48E4
triadic
#B848FB #FBB848 #48FBB8
tetradic
#B848FB #FB5E48 #8BFB48 #48E4FB
square
#B848FB #FB5E48 #8BFB48 #48E4FB
split-complementary
#B848FB #E4FB48 #48FB5E
monochromatic
#7C04C4 #A10CFA #B848FB #CF84FC #E6C0FE

Accessibility & contrast

On white

3.92
#B848FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#B848FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B848FB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B848FB#FFFFFF#000000##000000
##B848FB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#1C82F7
Tritanopia (blue-blind)
#AE719E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b848fb;
/* rgb */ color: rgb(184, 72, 251);
/* oklch */ color: oklch(63.4% 0.256 309.5);
Tailwind
colors: {
  custom: {
    50: '#d384fe',
    500: '#b848fb',
    950: '#000000',
  },
}
SCSS
$custom: #b848fb;
$custom-light: #d384fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b848fb",
  "rgb": {
    "r": 184,
    "g": 72,
    "b": 251
  },
  "hsl": {
    "h": 277.542,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63392,
    "c": 0.25571,
    "h": 309.5
  },
  "luminance": 0.2179
}

Semantic roles & 50–950 ramp

primary
#B848FB
secondary
#C7EFB0
accent
#E60056
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B848FB

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

Preview Lab → · Contrast checker → · Palette generator →

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