#B258F4#B258F4

#B258F4 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.0% C 0.228 H 307.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B258F4
RGBrgb(178, 88, 244)
HSLhsl(275, 88%, 65%)
HSVhsv(275, 64%, 96%)
CMYKcmyk(27%, 63.9%, 0%, 4.3%)
CIE-LABlab(55.05, 62.67, -63.80)
CIE-LCHlch(55.05, 89.43, 314.49°)
OKLaboklab(63.98% 0.1395 -0.1804)
OKLCHoklch(63.98% 0.228 307.7)
XYZxyz(38.1756, 22.9766, 87.9942)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258F4 #9AF458
analogous
#6458F4 #B258F4 #F458E8
triadic
#B258F4 #F4B258 #58F4B2
tetradic
#B258F4 #F46458 #9AF458 #58E8F4
square
#B258F4 #F46458 #9AF458 #58E8F4
split-complementary
#B258F4 #E8F458 #58F464
monochromatic
#770DC5 #981FF0 #B258F4 #CC91F8 #E7CBFC

Accessibility & contrast

On white

3.75
#B258F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B258F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258F4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258F4#FFFFFF#000000##000000
##B258F41.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#3985F0
Tritanopia (blue-blind)
#A8789F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b258f4;
/* rgb */ color: rgb(178, 88, 244);
/* oklch */ color: oklch(64.0% 0.228 307.7);
Tailwind
colors: {
  custom: {
    50: '#cd8cf9',
    500: '#b258f4',
    950: '#000000',
  },
}
SCSS
$custom: #b258f4;
$custom-light: #cd8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b258f4",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 244
  },
  "hsl": {
    "h": 274.615,
    "s": 87.64,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63975,
    "c": 0.22805,
    "h": 307.7
  },
  "luminance": 0.22976
}

Semantic roles & 50–950 ramp

primary
#B258F4
secondary
#D0EEB9
accent
#E40161
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258F4

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

Preview Lab → · Contrast checker → · Palette generator →

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