#B358CA#B358CA

#B358CA is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.6% C 0.186 H 319.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B358CA
RGBrgb(179, 88, 202)
HSLhsl(288, 52%, 57%)
HSVhsv(288, 56%, 79%)
CMYKcmyk(11.4%, 56.4%, 0%, 20.8%)
CIE-LABlab(52.76, 54.11, -43.72)
CIE-LCHlch(52.76, 69.56, 321.06°)
OKLaboklab(61.57% 0.1407 -0.1217)
OKLCHoklch(61.57% 0.186 319.2)
XYZxyz(32.7394, 20.8288, 58.1615)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B358CA #6FCA58
analogous
#7A58CA #B358CA #CA58A8
triadic
#B358CA #CAB358 #58CAB3
tetradic
#B358CA #CA7A58 #6FCA58 #58A8CA
square
#B358CA #CA7A58 #6FCA58 #58A8CA
split-complementary
#B358CA #A8CA58 #58CA7A
monochromatic
#6E287F #9637AE #B358CA #C886D9 #DDB5E7

Accessibility & contrast

On white

4.07
#B358CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B358CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B358CA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B358CA#FFFFFF#000000##000000
##B358CA1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CE
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#B36989
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b358ca;
/* rgb */ color: rgb(179, 88, 202);
/* oklch */ color: oklch(61.6% 0.186 319.2);
Tailwind
colors: {
  custom: {
    50: '#cc8bda',
    500: '#b358ca',
    950: '#000000',
  },
}
SCSS
$custom: #b358ca;
$custom-light: #cc8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#b358ca",
  "rgb": {
    "r": 179,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 287.895,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61565,
    "c": 0.18607,
    "h": 319.2
  },
  "luminance": 0.20827
}

Semantic roles & 50–950 ramp

primary
#B358CA
secondary
#B1D6A8
accent
#DB4D69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B358CA

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

Preview Lab → · Contrast checker → · Palette generator →

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