#B958CA#B958CA

#B958CA is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.3% C 0.189 H 321.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B958CA
RGBrgb(185, 88, 202)
HSLhsl(291, 52%, 57%)
HSVhsv(291, 56%, 79%)
CMYKcmyk(8.4%, 56.4%, 0%, 20.8%)
CIE-LABlab(53.56, 55.67, -42.41)
CIE-LCHlch(53.56, 69.98, 322.70°)
OKLaboklab(62.31% 0.1478 -0.1177)
OKLCHoklch(62.31% 0.189 321.5)
XYZxyz(34.1568, 21.5596, 58.2279)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B958CA #69CA58
analogous
#8058CA #B958CA #CA58A2
triadic
#B958CA #CAB958 #58CAB9
tetradic
#B958CA #CA8058 #69CA58 #58A2CA
square
#B958CA #CA8058 #69CA58 #58A2CA
split-complementary
#B958CA #A2CA58 #58CA80
monochromatic
#72287F #9C37AE #B958CA #CC86D9 #E0B5E7

Accessibility & contrast

On white

3.95
#B958CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B958CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B958CA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B958CA#FFFFFF#000000##000000
##B958CA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#6484C7
Tritanopia (blue-blind)
#BB6989
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b958ca;
/* rgb */ color: rgb(185, 88, 202);
/* oklch */ color: oklch(62.3% 0.189 321.5);
Tailwind
colors: {
  custom: {
    50: '#d18cda',
    500: '#b958ca',
    950: '#000000',
  },
}
SCSS
$custom: #b958ca;
$custom-light: #d18cda;
$custom-dark: #000000;
JSON
{
  "hex": "#b958ca",
  "rgb": {
    "r": 185,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 291.053,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62314,
    "c": 0.189,
    "h": 321.5
  },
  "luminance": 0.21558
}

Semantic roles & 50–950 ramp

primary
#B958CA
secondary
#AFD6A8
accent
#DB4D62
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B958CA

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

Preview Lab → · Contrast checker → · Palette generator →

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