#B858F6#B858F6

#B858F6 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.8% C 0.232 H 309.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B858F6
RGBrgb(184, 88, 246)
HSLhsl(276, 90%, 65%)
HSVhsv(276, 64%, 96%)
CMYKcmyk(25.2%, 64.2%, 0%, 3.5%)
CIE-LABlab(55.91, 64.38, -63.48)
CIE-LCHlch(55.91, 90.41, 315.40°)
OKLaboklab(64.8% 0.1468 -0.1793)
OKLCHoklch(64.8% 0.232 309.3)
XYZxyz(39.8882, 23.8243, 89.6682)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B858F6 #96F658
analogous
#6958F6 #B858F6 #F658E5
triadic
#B858F6 #F6B858 #58F6B8
tetradic
#B858F6 #F66958 #96F658 #58E5F6
square
#B858F6 #F66958 #96F658 #58E5F6
split-complementary
#B858F6 #E5F658 #58F669
monochromatic
#7E0BC9 #9F1EF3 #B858F6 #D192F9 #E9CCFC

Accessibility & contrast

On white

3.64
#B858F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B858F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B858F6
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B858F6#FFFFFF#000000##000000
##B858F61.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#3F87F2
Tritanopia (blue-blind)
#AF78A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b858f6;
/* rgb */ color: rgb(184, 88, 246);
/* oklch */ color: oklch(64.8% 0.232 309.3);
Tailwind
colors: {
  custom: {
    50: '#d28dfa',
    500: '#b858f6',
    950: '#000000',
  },
}
SCSS
$custom: #b858f6;
$custom-light: #d28dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b858f6",
  "rgb": {
    "r": 184,
    "g": 88,
    "b": 246
  },
  "hsl": {
    "h": 276.456,
    "s": 89.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64795,
    "c": 0.23177,
    "h": 309.3
  },
  "luminance": 0.23824
}

Semantic roles & 50–950 ramp

primary
#B858F6
secondary
#CFEFBA
accent
#E6005A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #B858F6

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

Preview Lab → · Contrast checker → · Palette generator →

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