#B958EC#B958EC

#B958EC is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.3% C 0.222 H 312.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B958EC
RGBrgb(185, 88, 236)
HSLhsl(279, 80%, 64%)
HSVhsv(279, 63%, 93%)
CMYKcmyk(21.6%, 62.7%, 0%, 7.5%)
CIE-LABlab(55.43, 62.49, -58.67)
CIE-LCHlch(55.43, 85.71, 316.81°)
OKLaboklab(64.28% 0.1485 -0.1652)
OKLCHoklch(64.28% 0.222 312)
XYZxyz(38.6349, 23.3508, 81.8126)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B958EC #8BEC58
analogous
#6F58EC #B958EC #EC58D5
triadic
#B958EC #ECB958 #58ECB9
tetradic
#B958EC #EC6F58 #8BEC58 #58D5EC
square
#B958EC #EC6F58 #8BEC58 #58D5EC
split-complementary
#B958EC #D5EC58 #58EC6F
monochromatic
#7E15B5 #A221E6 #B958EC #D08FF2 #E7C6F9

Accessibility & contrast

On white

3.70
#B958EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B958EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B958EC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B958EC#FFFFFF#000000##000000
##B958EC1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F80F1
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#B3759A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b958ec;
/* rgb */ color: rgb(185, 88, 236);
/* oklch */ color: oklch(64.3% 0.222 312.0);
Tailwind
colors: {
  custom: {
    50: '#d28df3',
    500: '#b958ec',
    950: '#000000',
  },
}
SCSS
$custom: #b958ec;
$custom-light: #d28df3;
$custom-dark: #000000;
JSON
{
  "hex": "#b958ec",
  "rgb": {
    "r": 185,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 279.324,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64282,
    "c": 0.22214,
    "h": 312
  },
  "luminance": 0.2335
}

Semantic roles & 50–950 ramp

primary
#B958EC
secondary
#C8EAB6
accent
#DC0A52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B958EC

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

Preview Lab → · Contrast checker → · Palette generator →

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