#B258CA#B258CA

#B258CA is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.4% C 0.186 H 318.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B258CA
RGBrgb(178, 88, 202)
HSLhsl(287, 52%, 57%)
HSVhsv(287, 56%, 79%)
CMYKcmyk(11.9%, 56.4%, 0%, 20.8%)
CIE-LABlab(52.63, 53.85, -43.94)
CIE-LCHlch(52.63, 69.50, 320.79°)
OKLaboklab(61.44% 0.1396 -0.1223)
OKLCHoklch(61.44% 0.186 318.8)
XYZxyz(32.5091, 20.7100, 58.1507)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258CA #70CA58
analogous
#7958CA #B258CA #CA58A9
triadic
#B258CA #CAB258 #58CAB2
tetradic
#B258CA #CA7958 #70CA58 #58A9CA
square
#B258CA #CA7958 #70CA58 #58A9CA
split-complementary
#B258CA #A9CA58 #58CA79
monochromatic
#6D287F #9537AE #B258CA #C786D9 #DDB5E7

Accessibility & contrast

On white

4.08
#B258CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B258CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258CA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258CA#FFFFFF#000000##000000
##B258CA1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b258ca;
/* rgb */ color: rgb(178, 88, 202);
/* oklch */ color: oklch(61.4% 0.186 318.8);
Tailwind
colors: {
  custom: {
    50: '#cc8bda',
    500: '#b258ca',
    950: '#000000',
  },
}
SCSS
$custom: #b258ca;
$custom-light: #cc8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#b258ca",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 287.368,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61442,
    "c": 0.18559,
    "h": 318.8
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B258CA

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

Preview Lab → · Contrast checker → · Palette generator →

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