#B958EF#B958EF

#B958EF is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.5% C 0.225 H 311.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B958EF
RGBrgb(185, 88, 239)
HSLhsl(279, 83%, 64%)
HSVhsv(279, 63%, 94%)
CMYKcmyk(22.6%, 63.2%, 0%, 6.3%)
CIE-LABlab(55.61, 63.12, -60.06)
CIE-LCHlch(55.61, 87.12, 316.42°)
OKLaboklab(64.47% 0.1484 -0.1693)
OKLCHoklch(64.47% 0.225 311.3)
XYZxyz(39.0744, 23.5266, 84.1273)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B958EF #8EEF58
analogous
#6E58EF #B958EF #EF58DA
triadic
#B958EF #EFB958 #58EFB9
tetradic
#B958EF #EF6E58 #8EEF58 #58DAEF
square
#B958EF #EF6E58 #8EEF58 #58DAEF
split-complementary
#B958EF #DAEF58 #58EF6E
monochromatic
#7E12BB #A220EA #B958EF #D090F4 #E8C8FA

Accessibility & contrast

On white

3.68
#B958EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B958EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B958EF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B958EF#FFFFFF#000000##000000
##B958EF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F4
Deuteranopia (green-blind)
#4887EB
Tritanopia (blue-blind)
#B2769C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b958ef;
/* rgb */ color: rgb(185, 88, 239);
/* oklch */ color: oklch(64.5% 0.225 311.3);
Tailwind
colors: {
  custom: {
    50: '#d28df5',
    500: '#b958ef',
    950: '#000000',
  },
}
SCSS
$custom: #b958ef;
$custom-light: #d28df5;
$custom-dark: #000000;
JSON
{
  "hex": "#b958ef",
  "rgb": {
    "r": 185,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 278.543,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64469,
    "c": 0.22512,
    "h": 311.3
  },
  "luminance": 0.23526
}

Semantic roles & 50–950 ramp

primary
#B958EF
secondary
#CAECB7
accent
#DF0754
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150D17
muted
#837D85

Preview Lab

Preview with #B958EF

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

Preview Lab → · Contrast checker → · Palette generator →

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