#B258CB#B258CB

#B258CB is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.5% C 0.187 H 318.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B258CB
RGBrgb(178, 88, 203)
HSLhsl(287, 53%, 57%)
HSVhsv(287, 57%, 80%)
CMYKcmyk(12.3%, 56.7%, 0%, 20.4%)
CIE-LABlab(52.68, 54.05, -44.43)
CIE-LCHlch(52.68, 69.96, 320.58°)
OKLaboklab(61.5% 0.1396 -0.1238)
OKLCHoklch(61.5% 0.187 318.4)
XYZxyz(32.6279, 20.7575, 58.7762)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258CB #71CB58
analogous
#7958CB #B258CB #CB58AA
triadic
#B258CB #CBB258 #58CBB2
tetradic
#B258CB #CB7958 #71CB58 #58AACB
square
#B258CB #CB7958 #71CB58 #58AACB
split-complementary
#B258CB #AACB58 #58CB79
monochromatic
#6D2881 #9537AF #B258CB #C887DA #DDB5E8

Accessibility & contrast

On white

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

On black

5.15
#B258CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258CB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258CB#FFFFFF#000000##000000
##B258CB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b258cb;
/* rgb */ color: rgb(178, 88, 203);
/* oklch */ color: oklch(61.5% 0.187 318.4);
Tailwind
colors: {
  custom: {
    50: '#cc8bdb',
    500: '#b258cb',
    950: '#000000',
  },
}
SCSS
$custom: #b258cb;
$custom-light: #cc8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b258cb",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 286.957,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61497,
    "c": 0.18659,
    "h": 318.4
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#B258CB
secondary
#B2D7A8
accent
#DC4C6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B258CB

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

Preview Lab → · Contrast checker → · Palette generator →

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