#B847FF#B847FF

#B847FF is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.6% C 0.260 H 308.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B847FF
RGBrgb(184, 71, 255)
HSLhsl(277, 100%, 64%)
HSVhsv(277, 72%, 100%)
CMYKcmyk(27.8%, 72.2%, 0%, 0%)
CIE-LABlab(53.94, 73.44, -71.66)
CIE-LCHlch(53.94, 102.61, 315.70°)
OKLaboklab(63.57% 0.1629 -0.2033)
OKLCHoklch(63.57% 0.26 308.7)
XYZxyz(40.0667, 21.9175, 96.7082)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847FF #8EFF47
analogous
#5C47FF #B847FF #FF47EA
triadic
#B847FF #FFB847 #47FFB8
tetradic
#B847FF #FF5C47 #8EFF47 #47EAFF
square
#B847FF #FF5C47 #8EFF47 #47EAFF
split-complementary
#B847FF #EAFF47 #47FF5C
monochromatic
#7D00CC #A00AFF #B847FF #D084FF #E7C1FF

Accessibility & contrast

On white

3.90
#B847FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B847FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847FF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847FF#FFFFFF#000000##000000
##B847FF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0882FB
Tritanopia (blue-blind)
#AD72A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b847ff;
/* rgb */ color: rgb(184, 71, 255);
/* oklch */ color: oklch(63.6% 0.260 308.7);
Tailwind
colors: {
  custom: {
    50: '#d384ff',
    500: '#b847ff',
    950: '#000000',
  },
}
SCSS
$custom: #b847ff;
$custom-light: #d384ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b847ff",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 255
  },
  "hsl": {
    "h": 276.848,
    "s": 100,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63573,
    "c": 0.26047,
    "h": 308.7
  },
  "luminance": 0.21917
}

Semantic roles & 50–950 ramp

primary
#B847FF
secondary
#CAF1B1
accent
#E60059
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B847FF

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

Preview Lab → · Contrast checker → · Palette generator →

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