#B558FF#B558FF

#B558FF is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 65.0% C 0.240 H 306.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B558FF
RGBrgb(181, 88, 255)
HSLhsl(273, 100%, 67%)
HSVhsv(273, 65%, 100%)
CMYKcmyk(29%, 65.5%, 0%, 0%)
CIE-LABlab(56.11, 65.71, -68.17)
CIE-LCHlch(56.11, 94.68, 313.95°)
OKLaboklab(65.04% 0.1424 -0.1932)
OKLCHoklch(65.04% 0.24 306.4)
XYZxyz(40.5919, 24.0236, 97.0869)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558FF #A2FF58
analogous
#6158FF #B558FF #FF58F6
triadic
#B558FF #FFB558 #58FFB5
tetradic
#B558FF #FF6158 #A2FF58 #58F6FF
square
#B558FF #FF6158 #A2FF58 #58F6FF
split-complementary
#B558FF #F6FF58 #58FF61
monochromatic
#7B00DD #9A1BFF #B558FF #D095FF #EBD2FF

Accessibility & contrast

On white

3.62
#B558FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#B558FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558FF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558FF#FFFFFF#000000##000000
##B558FF1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#2D87FB
Tritanopia (blue-blind)
#A87CA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b558ff;
/* rgb */ color: rgb(181, 88, 255);
/* oklch */ color: oklch(65.0% 0.240 306.4);
Tailwind
colors: {
  custom: {
    50: '#d08dff',
    500: '#b558ff',
    950: '#000000',
  },
}
SCSS
$custom: #b558ff;
$custom-light: #d08dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b558ff",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 255
  },
  "hsl": {
    "h": 273.413,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65041,
    "c": 0.23998,
    "h": 306.4
  },
  "luminance": 0.24023
}

Semantic roles & 50–950 ramp

primary
#B558FF
secondary
#D6F4BF
accent
#E60066
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D18
muted
#837D86

Preview Lab

Preview with #B558FF

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

Preview Lab → · Contrast checker → · Palette generator →

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