#B858F7#B858F7

#B858F7 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.9% C 0.233 H 309.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B858F7
RGBrgb(184, 88, 247)
HSLhsl(276, 91%, 66%)
HSVhsv(276, 64%, 97%)
CMYKcmyk(25.5%, 64.4%, 0%, 3.1%)
CIE-LABlab(55.97, 64.60, -63.94)
CIE-LCHlch(55.97, 90.89, 315.29°)
OKLaboklab(64.86% 0.1468 -0.1807)
OKLCHoklch(64.86% 0.233 309.1)
XYZxyz(40.0420, 23.8859, 90.4787)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B858F7 #97F758
analogous
#6858F7 #B858F7 #F758E7
triadic
#B858F7 #F7B858 #58F7B8
tetradic
#B858F7 #F76858 #97F758 #58E7F7
square
#B858F7 #F76858 #97F758 #58E7F7
split-complementary
#B858F7 #E7F758 #58F768
monochromatic
#7E0ACB #9F1EF4 #B858F7 #D192FA #EACDFD

Accessibility & contrast

On white

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

On black

5.78
#B858F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B858F7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B858F7#FFFFFF#000000##000000
##B858F71.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#3E87F3
Tritanopia (blue-blind)
#AF79A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b858f7;
/* rgb */ color: rgb(184, 88, 247);
/* oklch */ color: oklch(64.9% 0.233 309.1);
Tailwind
colors: {
  custom: {
    50: '#d28dfb',
    500: '#b858f7',
    950: '#000000',
  },
}
SCSS
$custom: #b858f7;
$custom-light: #d28dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b858f7",
  "rgb": {
    "r": 184,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 276.226,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6486,
    "c": 0.23277,
    "h": 309.1
  },
  "luminance": 0.23885
}

Semantic roles & 50–950 ramp

primary
#B858F7
secondary
#D0F0BB
accent
#E6005B
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #B858F7

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

Preview Lab → · Contrast checker → · Palette generator →

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