#B258E9#B258E9

#B258E9 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.3% C 0.217 H 310.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B258E9
RGBrgb(178, 88, 233)
HSLhsl(277, 77%, 63%)
HSVhsv(277, 62%, 91%)
CMYKcmyk(23.6%, 62.2%, 0%, 8.6%)
CIE-LABlab(54.37, 60.28, -58.73)
CIE-LCHlch(54.37, 84.16, 315.75°)
OKLaboklab(63.27% 0.14 -0.1656)
OKLCHoklch(63.27% 0.217 310.2)
XYZxyz(36.5550, 22.3284, 79.4591)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258E9 #8FE958
analogous
#6958E9 #B258E9 #E958D8
triadic
#B258E9 #E9B258 #58E9B2
tetradic
#B258E9 #E96958 #8FE958 #58D8E9
square
#B258E9 #E96958 #8FE958 #58D8E9
split-complementary
#B258E9 #D8E958 #58E969
monochromatic
#7617AF #9922E2 #B258E9 #CB8EF0 #E4C4F7

Accessibility & contrast

On white

3.84
#B258E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B258E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258E9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258E9#FFFFFF#000000##000000
##B258E91.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7EED
Deuteranopia (green-blind)
#4684E6
Tritanopia (blue-blind)
#AB7499
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b258e9;
/* rgb */ color: rgb(178, 88, 233);
/* oklch */ color: oklch(63.3% 0.217 310.2);
Tailwind
colors: {
  custom: {
    50: '#cd8cf1',
    500: '#b258e9',
    950: '#000000',
  },
}
SCSS
$custom: #b258e9;
$custom-light: #cd8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b258e9",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 277.241,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63272,
    "c": 0.21683,
    "h": 310.2
  },
  "luminance": 0.22328
}

Semantic roles & 50–950 ramp

primary
#B258E9
secondary
#C8E8B4
accent
#D90D5A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258E9

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

Preview Lab → · Contrast checker → · Palette generator →

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