#B582FC#B582FC

#B582FC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.8% C 0.177 H 301.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#B582FC
RGBrgb(181, 130, 252)
HSLhsl(265, 95%, 75%)
HSVhsv(265, 48%, 99%)
CMYKcmyk(28.2%, 48.4%, 0%, 1.2%)
CIE-LABlab(64.01, 43.67, -53.87)
CIE-LCHlch(64.01, 69.35, 309.03°)
OKLaboklab(70.77% 0.0921 -0.1514)
OKLCHoklch(70.77% 0.177 301.3)
XYZxyz(44.6054, 32.8172, 96.0610)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B582FC #C9FC82
analogous
#828CFC #B582FC #F282FC
triadic
#B582FC #FCB582 #82FCB5
tetradic
#B582FC #FC828C #C9FC82 #82FCF2
square
#B582FC #FC828C #C9FC82 #82FCF2
split-complementary
#B582FC #FCF282 #8CFC82
monochromatic
#6E0AF9 #9246FB #B582FC #D8BEFD #EDE1FE

Accessibility & contrast

On white

2.78
#B582FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#B582FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B582FC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B582FC#FFFFFF#000000##000000
##B582FC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#699BF9
Tritanopia (blue-blind)
#A798B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b582fc;
/* rgb */ color: rgb(181, 130, 252);
/* oklch */ color: oklch(70.8% 0.177 301.3);
Tailwind
colors: {
  custom: {
    50: '#cea7fe',
    500: '#b582fc',
    950: '#000000',
  },
}
SCSS
$custom: #b582fc;
$custom-light: #cea7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b582fc",
  "rgb": {
    "r": 181,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 265.082,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70773,
    "c": 0.1772,
    "h": 301.3
  },
  "luminance": 0.32817
}

Semantic roles & 50–950 ramp

primary
#B582FC
secondary
#E8F7D4
accent
#E60086
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B582FC

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

Preview Lab → · Contrast checker → · Palette generator →

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