#B958F0#B958F0

#B958F0 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.5% C 0.226 H 311.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B958F0
RGBrgb(185, 88, 240)
HSLhsl(278, 84%, 64%)
HSVhsv(278, 63%, 94%)
CMYKcmyk(22.9%, 63.3%, 0%, 5.9%)
CIE-LABlab(55.67, 63.33, -60.52)
CIE-LCHlch(55.67, 87.59, 316.30°)
OKLaboklab(64.53% 0.1484 -0.1706)
OKLCHoklch(64.53% 0.226 311)
XYZxyz(39.2225, 23.5859, 84.9075)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B958F0 #8FF058
analogous
#6D58F0 #B958F0 #F058DB
triadic
#B958F0 #F0B958 #58F0B9
tetradic
#B958F0 #F06D58 #8FF058 #58DBF0
square
#B958F0 #F06D58 #8FF058 #58DBF0
split-complementary
#B958F0 #DBF058 #58F06D
monochromatic
#7F11BD #A120EB #B958F0 #D190F5 #E8C8FA

Accessibility & contrast

On white

3.67
#B958F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B958F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B958F0
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B958F0#FFFFFF#000000##000000
##B958F01.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F5
Deuteranopia (green-blind)
#4787EC
Tritanopia (blue-blind)
#B2769C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b958f0;
/* rgb */ color: rgb(185, 88, 240);
/* oklch */ color: oklch(64.5% 0.226 311.0);
Tailwind
colors: {
  custom: {
    50: '#d28df6',
    500: '#b958f0',
    950: '#000000',
  },
}
SCSS
$custom: #b958f0;
$custom-light: #d28df6;
$custom-dark: #000000;
JSON
{
  "hex": "#b958f0",
  "rgb": {
    "r": 185,
    "g": 88,
    "b": 240
  },
  "hsl": {
    "h": 278.289,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64532,
    "c": 0.22611,
    "h": 311
  },
  "luminance": 0.23585
}

Semantic roles & 50–950 ramp

primary
#B958F0
secondary
#CBECB8
accent
#E00655
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150D17
muted
#837D85

Preview Lab

Preview with #B958F0

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

Preview Lab → · Contrast checker → · Palette generator →

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