#B851F3#B851F3

#B851F3 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.8% C 0.238 H 310.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B851F3
RGBrgb(184, 81, 243)
HSLhsl(278, 87%, 64%)
HSVhsv(278, 67%, 95%)
CMYKcmyk(24.3%, 66.7%, 0%, 4.7%)
CIE-LABlab(54.60, 66.86, -63.92)
CIE-LCHlch(54.60, 92.49, 316.29°)
OKLaboklab(63.8% 0.1546 -0.1806)
OKLCHoklch(63.8% 0.238 310.6)
XYZxyz(38.8842, 22.5471, 87.0803)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B851F3 #8CF351
analogous
#6751F3 #B851F3 #F351DD
triadic
#B851F3 #F3B851 #51F3B8
tetradic
#B851F3 #F36751 #8CF351 #51DDF3
square
#B851F3 #F36751 #8CF351 #51DDF3
split-complementary
#B851F3 #DDF351 #51F367
monochromatic
#7D0DBD #A118EF #B851F3 #CF8AF7 #E7C4FB

Accessibility & contrast

On white

3.81
#B851F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B851F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B851F3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B851F3#FFFFFF#000000##000000
##B851F31.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#B0739C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b851f3;
/* rgb */ color: rgb(184, 81, 243);
/* oklch */ color: oklch(63.8% 0.238 310.6);
Tailwind
colors: {
  custom: {
    50: '#d289f8',
    500: '#b851f3',
    950: '#000000',
  },
}
SCSS
$custom: #b851f3;
$custom-light: #d289f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b851f3",
  "rgb": {
    "r": 184,
    "g": 81,
    "b": 243
  },
  "hsl": {
    "h": 278.148,
    "s": 87.097,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63795,
    "c": 0.2377,
    "h": 310.6
  },
  "luminance": 0.22546
}

Semantic roles & 50–950 ramp

primary
#B851F3
secondary
#C8EDB3
accent
#E40254
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B851F3

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

Preview Lab → · Contrast checker → · Palette generator →

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