#B958F5#B958F5

#B958F5 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.8% C 0.231 H 309.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B958F5
RGBrgb(185, 88, 245)
HSLhsl(277, 89%, 65%)
HSVhsv(277, 64%, 96%)
CMYKcmyk(24.5%, 64.1%, 0%, 3.9%)
CIE-LABlab(55.97, 64.38, -62.82)
CIE-LCHlch(55.97, 89.95, 315.71°)
OKLaboklab(64.85% 0.1481 -0.1773)
OKLCHoklch(64.85% 0.231 309.9)
XYZxyz(39.9755, 23.8871, 88.8733)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B958F5 #94F558
analogous
#6A58F5 #B958F5 #F558E3
triadic
#B958F5 #F5B958 #58F5B9
tetradic
#B958F5 #F56A58 #94F558 #58E3F5
square
#B958F5 #F56A58 #94F558 #58E3F5
split-complementary
#B958F5 #E3F558 #58F56A
monochromatic
#7F0CC7 #A11EF2 #B958F5 #D192F8 #E9CBFC

Accessibility & contrast

On white

3.63
#B958F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B958F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B958F5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B958F5#FFFFFF#000000##000000
##B958F51.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#4288F1
Tritanopia (blue-blind)
#B1789F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b958f5;
/* rgb */ color: rgb(185, 88, 245);
/* oklch */ color: oklch(64.8% 0.231 309.9);
Tailwind
colors: {
  custom: {
    50: '#d28df9',
    500: '#b958f5',
    950: '#000000',
  },
}
SCSS
$custom: #b958f5;
$custom-light: #d28df9;
$custom-dark: #000000;
JSON
{
  "hex": "#b958f5",
  "rgb": {
    "r": 185,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 277.07,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64848,
    "c": 0.23107,
    "h": 309.9
  },
  "luminance": 0.23886
}

Semantic roles & 50–950 ramp

primary
#B958F5
secondary
#CEEFBA
accent
#E50058
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #B958F5

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

Preview Lab → · Contrast checker → · Palette generator →

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