#B258F1#B258F1

#B258F1 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.8% C 0.225 H 308.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B258F1
RGBrgb(178, 88, 241)
HSLhsl(275, 85%, 65%)
HSVhsv(275, 63%, 95%)
CMYKcmyk(26.1%, 63.5%, 0%, 5.5%)
CIE-LABlab(54.86, 62.01, -62.42)
CIE-LCHlch(54.86, 87.99, 314.81°)
OKLaboklab(63.78% 0.1396 -0.1764)
OKLCHoklch(63.78% 0.225 308.4)
XYZxyz(37.7238, 22.7959, 85.6148)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258F1 #97F158
analogous
#6658F1 #B258F1 #F158E4
triadic
#B258F1 #F1B258 #58F1B2
tetradic
#B258F1 #F16658 #97F158 #58E4F1
square
#B258F1 #F16658 #97F158 #58E4F1
split-complementary
#B258F1 #E4F158 #58F166
monochromatic
#7710BF #9820EC #B258F1 #CC90F6 #E6C9FA

Accessibility & contrast

On white

3.78
#B258F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B258F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258F1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258F1#FFFFFF#000000##000000
##B258F11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#3D84EE
Tritanopia (blue-blind)
#A9779D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b258f1;
/* rgb */ color: rgb(178, 88, 241);
/* oklch */ color: oklch(63.8% 0.225 308.4);
Tailwind
colors: {
  custom: {
    50: '#cd8cf6',
    500: '#b258f1',
    950: '#000000',
  },
}
SCSS
$custom: #b258f1;
$custom-light: #cd8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b258f1",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 275.294,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6378,
    "c": 0.22499,
    "h": 308.4
  },
  "luminance": 0.22795
}

Semantic roles & 50–950 ramp

primary
#B258F1
secondary
#CEEDB8
accent
#E1055F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258F1

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

Preview Lab → · Contrast checker → · Palette generator →

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