#B258BF#B258BF

#B258BF is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.8% C 0.175 H 322.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B258BF
RGBrgb(178, 88, 191)
HSLhsl(292, 45%, 55%)
HSVhsv(292, 54%, 75%)
CMYKcmyk(6.8%, 53.9%, 0%, 25.1%)
CIE-LABlab(52.07, 51.70, -38.50)
CIE-LCHlch(52.07, 64.46, 323.32°)
OKLaboklab(60.85% 0.1386 -0.1066)
OKLCHoklch(60.85% 0.175 322.4)
XYZxyz(31.2528, 20.2075, 51.5343)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258BF #65BF58
analogous
#7E58BF #B258BF #BF5899
triadic
#B258BF #BFB258 #58BFB2
tetradic
#B258BF #BF7E58 #65BF58 #5899BF
square
#B258BF #BF7E58 #65BF58 #5899BF
split-complementary
#B258BF #99BF58 #58BF7E
monochromatic
#682B71 #913C9D #B258BF #C684D0 #DBB0E1

Accessibility & contrast

On white

4.17
#B258BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B258BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258BF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258BF#FFFFFF#000000##000000
##B258BF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#6480BC
Tritanopia (blue-blind)
#B46683
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b258bf;
/* rgb */ color: rgb(178, 88, 191);
/* oklch */ color: oklch(60.8% 0.175 322.4);
Tailwind
colors: {
  custom: {
    50: '#cb8bd3',
    500: '#b258bf',
    950: '#000000',
  },
}
SCSS
$custom: #b258bf;
$custom-light: #cb8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b258bf",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 292.427,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60849,
    "c": 0.17484,
    "h": 322.4
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#B258BF
secondary
#A9CFA4
accent
#D45464
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B258BF

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

Preview Lab → · Contrast checker → · Palette generator →

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