#B258E7#B258E7

#B258E7 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.1% C 0.215 H 310.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B258E7
RGBrgb(178, 88, 231)
HSLhsl(278, 75%, 63%)
HSVhsv(278, 62%, 91%)
CMYKcmyk(22.9%, 61.9%, 0%, 9.4%)
CIE-LABlab(54.25, 59.85, -57.80)
CIE-LCHlch(54.25, 83.20, 316.00°)
OKLaboklab(63.15% 0.1401 -0.1628)
OKLCHoklch(63.15% 0.215 310.7)
XYZxyz(36.2709, 22.2147, 77.9630)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258E7 #8DE758
analogous
#6A58E7 #B258E7 #E758D5
triadic
#B258E7 #E7B258 #58E7B2
tetradic
#B258E7 #E76A58 #8DE758 #58D5E7
square
#B258E7 #E76A58 #8DE758 #58D5E7
split-complementary
#B258E7 #D5E758 #58E76A
monochromatic
#7519AC #9922DF #B258E7 #CB8EEF #E3C3F6

Accessibility & contrast

On white

3.86
#B258E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B258E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258E7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258E7#FFFFFF#000000##000000
##B258E71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#147EEB
Deuteranopia (green-blind)
#4883E4
Tritanopia (blue-blind)
#AB7498
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b258e7;
/* rgb */ color: rgb(178, 88, 231);
/* oklch */ color: oklch(63.1% 0.215 310.7);
Tailwind
colors: {
  custom: {
    50: '#cd8cef',
    500: '#b258e7',
    950: '#000000',
  },
}
SCSS
$custom: #b258e7;
$custom-light: #cd8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#b258e7",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 277.762,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63147,
    "c": 0.2148,
    "h": 310.7
  },
  "luminance": 0.22214
}

Semantic roles & 50–950 ramp

primary
#B258E7
secondary
#C7E7B3
accent
#D70E59
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B258E7

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

Preview Lab → · Contrast checker → · Palette generator →

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