#B258FB#B258FB

#B258FB is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.4% C 0.235 H 306.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B258FB
RGBrgb(178, 88, 251)
HSLhsl(273, 95%, 66%)
HSVhsv(273, 65%, 98%)
CMYKcmyk(29.1%, 64.9%, 0%, 1.6%)
CIE-LABlab(55.49, 64.21, -66.97)
CIE-LCHlch(55.49, 92.78, 313.79°)
OKLaboklab(64.44% 0.1389 -0.1898)
OKLCHoklch(64.44% 0.235 306.2)
XYZxyz(39.2587, 23.4098, 93.6984)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258FB #A1FB58
analogous
#6158FB #B258FB #FB58F2
triadic
#B258FB #FBB258 #58FBB2
tetradic
#B258FB #FB6158 #A1FB58 #58F2FB
square
#B258FB #FB6158 #A1FB58 #58F2FB
split-complementary
#B258FB #F2FB58 #58FB61
monochromatic
#7705D4 #961CFA #B258FB #CE94FC #E9D0FE

Accessibility & contrast

On white

3.70
#B258FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B258FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258FB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258FB#FFFFFF#000000##000000
##B258FB1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#2E85F7
Tritanopia (blue-blind)
#A67BA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b258fb;
/* rgb */ color: rgb(178, 88, 251);
/* oklch */ color: oklch(64.4% 0.235 306.2);
Tailwind
colors: {
  custom: {
    50: '#ce8dfd',
    500: '#b258fb',
    950: '#000000',
  },
}
SCSS
$custom: #b258fb;
$custom-light: #ce8dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b258fb",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 251
  },
  "hsl": {
    "h": 273.129,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64435,
    "c": 0.23518,
    "h": 306.2
  },
  "luminance": 0.23409
}

Semantic roles & 50–950 ramp

primary
#B258FB
secondary
#D5F2BD
accent
#E60067
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D18
muted
#837D86

Preview Lab

Preview with #B258FB

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

Preview Lab → · Contrast checker → · Palette generator →

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