#B958E8#B958E8

#B958E8 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.0% C 0.218 H 312.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B958E8
RGBrgb(185, 88, 232)
HSLhsl(280, 76%, 63%)
HSVhsv(280, 62%, 91%)
CMYKcmyk(20.3%, 62.1%, 0%, 9%)
CIE-LABlab(55.20, 61.65, -56.80)
CIE-LCHlch(55.20, 83.83, 317.35°)
OKLaboklab(64.04% 0.1487 -0.1597)
OKLCHoklch(64.04% 0.218 312.9)
XYZxyz(38.0603, 23.1210, 78.7862)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B958E8 #87E858
analogous
#7158E8 #B958E8 #E858CF
triadic
#B958E8 #E8B958 #58E8B9
tetradic
#B958E8 #E87158 #87E858 #58CFE8
square
#B958E8 #E87158 #87E858 #58CFE8
split-complementary
#B958E8 #CFE858 #58E871
monochromatic
#7D18AE #A222E1 #B958E8 #D08EEF #E6C4F7

Accessibility & contrast

On white

3.73
#B958E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B958E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B958E8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B958E8#FFFFFF#000000##000000
##B958E81.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7FEC
Deuteranopia (green-blind)
#4F86E5
Tritanopia (blue-blind)
#B47398
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b958e8;
/* rgb */ color: rgb(185, 88, 232);
/* oklch */ color: oklch(64.0% 0.218 312.9);
Tailwind
colors: {
  custom: {
    50: '#d28df0',
    500: '#b958e8',
    950: '#000000',
  },
}
SCSS
$custom: #b958e8;
$custom-light: #d28df0;
$custom-dark: #000000;
JSON
{
  "hex": "#b958e8",
  "rgb": {
    "r": 185,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 280.417,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64037,
    "c": 0.21819,
    "h": 312.9
  },
  "luminance": 0.2312
}

Semantic roles & 50–950 ramp

primary
#B958E8
secondary
#C5E8B4
accent
#D80E50
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B958E8

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

Preview Lab → · Contrast checker → · Palette generator →

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