#B258F0#B258F0

#B258F0 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.7% C 0.224 H 308.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B258F0
RGBrgb(178, 88, 240)
HSLhsl(276, 84%, 64%)
HSVhsv(276, 63%, 94%)
CMYKcmyk(25.8%, 63.3%, 0%, 5.9%)
CIE-LABlab(54.80, 61.79, -61.96)
CIE-LCHlch(54.80, 87.51, 314.92°)
OKLaboklab(63.72% 0.1397 -0.1751)
OKLCHoklch(63.72% 0.224 308.6)
XYZxyz(37.5748, 22.7363, 84.8303)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258F0 #96F058
analogous
#6658F0 #B258F0 #F058E2
triadic
#B258F0 #F0B258 #58F0B2
tetradic
#B258F0 #F06658 #96F058 #58E2F0
square
#B258F0 #F06658 #96F058 #58E2F0
split-complementary
#B258F0 #E2F058 #58F066
monochromatic
#7711BD #9820EB #B258F0 #CC90F5 #E6C8FA

Accessibility & contrast

On white

3.79
#B258F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B258F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258F0
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258F0#FFFFFF#000000##000000
##B258F01.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#3E84ED
Tritanopia (blue-blind)
#A9779C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b258f0;
/* rgb */ color: rgb(178, 88, 240);
/* oklch */ color: oklch(63.7% 0.224 308.6);
Tailwind
colors: {
  custom: {
    50: '#cd8cf6',
    500: '#b258f0',
    950: '#000000',
  },
}
SCSS
$custom: #b258f0;
$custom-light: #cd8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b258f0",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 240
  },
  "hsl": {
    "h": 275.526,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63716,
    "c": 0.22397,
    "h": 308.6
  },
  "luminance": 0.22736
}

Semantic roles & 50–950 ramp

primary
#B258F0
secondary
#CDECB8
accent
#E0065F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258F0

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

Preview Lab → · Contrast checker → · Palette generator →

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