#B258CC#B258CC

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

Color values

HEX#B258CC
RGBrgb(178, 88, 204)
HSLhsl(287, 53%, 57%)
HSVhsv(287, 57%, 80%)
CMYKcmyk(12.7%, 56.9%, 0%, 20%)
CIE-LABlab(52.74, 54.25, -44.92)
CIE-LCHlch(52.74, 70.43, 320.38°)
OKLaboklab(61.55% 0.1397 -0.1252)
OKLCHoklch(61.55% 0.188 318.1)
XYZxyz(32.7474, 20.8053, 59.4059)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258CC #72CC58
analogous
#7858CC #B258CC #CC58AC
triadic
#B258CC #CCB258 #58CCB2
tetradic
#B258CC #CC7858 #72CC58 #58ACCC
square
#B258CC #CC7858 #72CC58 #58ACCC
split-complementary
#B258CC #ACCC58 #58CC78
monochromatic
#6E2882 #9536B1 #B258CC #C887DA #DDB6E9

Accessibility & contrast

On white

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

On black

5.16
#B258CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258CC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258CC#FFFFFF#000000##000000
##B258CC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#B26A8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b258cc;
/* rgb */ color: rgb(178, 88, 204);
/* oklch */ color: oklch(61.6% 0.188 318.1);
Tailwind
colors: {
  custom: {
    50: '#cc8bdc',
    500: '#b258cc',
    950: '#000000',
  },
}
SCSS
$custom: #b258cc;
$custom-light: #cc8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b258cc",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 286.552,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61553,
    "c": 0.18758,
    "h": 318.1
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#B258CC
secondary
#B3D7A8
accent
#DD4B6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B258CC

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

Preview Lab → · Contrast checker → · Palette generator →

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