#B258E1#B258E1

#B258E1 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.8% C 0.209 H 312.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B258E1
RGBrgb(178, 88, 225)
HSLhsl(279, 70%, 61%)
HSVhsv(279, 61%, 88%)
CMYKcmyk(20.9%, 60.9%, 0%, 11.8%)
CIE-LABlab(53.90, 58.57, -54.99)
CIE-LCHlch(53.90, 80.34, 316.81°)
OKLaboklab(62.78% 0.1402 -0.1546)
OKLCHoklch(62.78% 0.209 312.2)
XYZxyz(35.4380, 21.8816, 73.5763)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258E1 #87E158
analogous
#6E58E1 #B258E1 #E158CC
triadic
#B258E1 #E1B258 #58E1B2
tetradic
#B258E1 #E16E58 #87E158 #58CCE1
square
#B258E1 #E16E58 #87E158 #58CCE1
split-complementary
#B258E1 #CCE158 #58E16E
monochromatic
#741DA2 #9926D5 #B258E1 #CA8CEA #E2C0F4

Accessibility & contrast

On white

3.91
#B258E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B258E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258E1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258E1#FFFFFF#000000##000000
##B258E11.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#227CE5
Deuteranopia (green-blind)
#4E83DE
Tritanopia (blue-blind)
#AD7295
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b258e1;
/* rgb */ color: rgb(178, 88, 225);
/* oklch */ color: oklch(62.8% 0.209 312.2);
Tailwind
colors: {
  custom: {
    50: '#cc8ceb',
    500: '#b258e1',
    950: '#000000',
  },
}
SCSS
$custom: #b258e1;
$custom-light: #cc8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#b258e1",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 279.416,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62778,
    "c": 0.2087,
    "h": 312.2
  },
  "luminance": 0.21881
}

Semantic roles & 50–950 ramp

primary
#B258E1
secondary
#C2E4B1
accent
#D21455
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B258E1

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

Preview Lab → · Contrast checker → · Palette generator →

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