#B258F8#B258F8

#B258F8 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.2% C 0.232 H 306.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B258F8
RGBrgb(178, 88, 248)
HSLhsl(274, 92%, 66%)
HSVhsv(274, 65%, 97%)
CMYKcmyk(28.2%, 64.5%, 0%, 2.7%)
CIE-LABlab(55.30, 63.55, -65.61)
CIE-LCHlch(55.30, 91.34, 314.08°)
OKLaboklab(64.24% 0.1392 -0.1858)
OKLCHoklch(64.24% 0.232 306.8)
XYZxyz(38.7895, 23.2222, 91.2276)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258F8 #9EF858
analogous
#6258F8 #B258F8 #F858EE
triadic
#B258F8 #F8B258 #58F8B2
tetradic
#B258F8 #F86258 #9EF858 #58EEF8
square
#B258F8 #F86258 #9EF858 #58EEF8
split-complementary
#B258F8 #EEF858 #58F862
monochromatic
#7709CD #971DF6 #B258F8 #CD93FA #E8CDFD

Accessibility & contrast

On white

3.72
#B258F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B258F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258F8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258F8#FFFFFF#000000##000000
##B258F81.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FD
Deuteranopia (green-blind)
#3385F4
Tritanopia (blue-blind)
#A67AA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b258f8;
/* rgb */ color: rgb(178, 88, 248);
/* oklch */ color: oklch(64.2% 0.232 306.8);
Tailwind
colors: {
  custom: {
    50: '#ce8cfb',
    500: '#b258f8',
    950: '#000000',
  },
}
SCSS
$custom: #b258f8;
$custom-light: #ce8cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b258f8",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 248
  },
  "hsl": {
    "h": 273.75,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64237,
    "c": 0.23212,
    "h": 306.8
  },
  "luminance": 0.23222
}

Semantic roles & 50–950 ramp

primary
#B258F8
secondary
#D3F0BB
accent
#E60064
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258F8

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

Preview Lab → · Contrast checker → · Palette generator →

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