#B958EA#B958EA

#B958EA is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.2% C 0.220 H 312.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B958EA
RGBrgb(185, 88, 234)
HSLhsl(280, 78%, 63%)
HSVhsv(280, 62%, 92%)
CMYKcmyk(20.9%, 62.4%, 0%, 8.2%)
CIE-LABlab(55.31, 62.07, -57.73)
CIE-LCHlch(55.31, 84.77, 317.07°)
OKLaboklab(64.16% 0.1486 -0.1624)
OKLCHoklch(64.16% 0.22 312.5)
XYZxyz(38.3460, 23.2353, 80.2908)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B958EA #89EA58
analogous
#7058EA #B958EA #EA58D2
triadic
#B958EA #EAB958 #58EAB9
tetradic
#B958EA #EA7058 #89EA58 #58D2EA
square
#B958EA #EA7058 #89EA58 #58D2EA
split-complementary
#B958EA #D2EA58 #58EA70
monochromatic
#7D16B1 #A222E3 #B958EA #D08EF1 #E7C5F8

Accessibility & contrast

On white

3.72
#B958EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B958EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B958EA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B958EA#FFFFFF#000000##000000
##B958EA1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#167FEE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#B47499
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b958ea;
/* rgb */ color: rgb(185, 88, 234);
/* oklch */ color: oklch(64.2% 0.220 312.5);
Tailwind
colors: {
  custom: {
    50: '#d28df1',
    500: '#b958ea',
    950: '#000000',
  },
}
SCSS
$custom: #b958ea;
$custom-light: #d28df1;
$custom-dark: #000000;
JSON
{
  "hex": "#b958ea",
  "rgb": {
    "r": 185,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 279.863,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64159,
    "c": 0.22016,
    "h": 312.5
  },
  "luminance": 0.23234
}

Semantic roles & 50–950 ramp

primary
#B958EA
secondary
#C6E9B5
accent
#DA0C51
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B958EA

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

Preview Lab → · Contrast checker → · Palette generator →

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