#B958EE#B958EE

#B958EE is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.4% C 0.224 H 311.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B958EE
RGBrgb(185, 88, 238)
HSLhsl(279, 82%, 64%)
HSVhsv(279, 63%, 93%)
CMYKcmyk(22.3%, 63%, 0%, 6.7%)
CIE-LABlab(55.55, 62.91, -59.59)
CIE-LCHlch(55.55, 86.65, 316.55°)
OKLaboklab(64.41% 0.1485 -0.1679)
OKLCHoklch(64.41% 0.224 311.5)
XYZxyz(38.9271, 23.4677, 83.3514)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B958EE #8DEE58
analogous
#6E58EE #B958EE #EE58D8
triadic
#B958EE #EEB958 #58EEB9
tetradic
#B958EE #EE6E58 #8DEE58 #58D8EE
square
#B958EE #EE6E58 #8DEE58 #58D8EE
split-complementary
#B958EE #D8EE58 #58EE6E
monochromatic
#7E13B9 #A220E8 #B958EE #D090F4 #E8C7F9

Accessibility & contrast

On white

3.69
#B958EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B958EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B958EE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B958EE#FFFFFF#000000##000000
##B958EE1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0580F3
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#B3759B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b958ee;
/* rgb */ color: rgb(185, 88, 238);
/* oklch */ color: oklch(64.4% 0.224 311.5);
Tailwind
colors: {
  custom: {
    50: '#d28df4',
    500: '#b958ee',
    950: '#000000',
  },
}
SCSS
$custom: #b958ee;
$custom-light: #d28df4;
$custom-dark: #000000;
JSON
{
  "hex": "#b958ee",
  "rgb": {
    "r": 185,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 278.8,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64407,
    "c": 0.22412,
    "h": 311.5
  },
  "luminance": 0.23467
}

Semantic roles & 50–950 ramp

primary
#B958EE
secondary
#C9EBB7
accent
#DE0853
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140D17
muted
#837D85

Preview Lab

Preview with #B958EE

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

Preview Lab → · Contrast checker → · Palette generator →

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