#B58EF2#B58EF2

#B58EF2 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.3% C 0.146 H 300.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B58EF2
RGBrgb(181, 142, 242)
HSLhsl(263, 79%, 75%)
HSVhsv(263, 41%, 95%)
CMYKcmyk(25.2%, 41.3%, 0%, 5.1%)
CIE-LABlab(66.20, 34.68, -44.93)
CIE-LCHlch(66.20, 56.75, 307.67°)
OKLaboklab(72.25% 0.0747 -0.1254)
OKLCHoklch(72.25% 0.146 300.8)
XYZxyz(44.7525, 35.5804, 88.4972)
Luminance0.3558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58EF2 #CBF28E
analogous
#8E99F2 #B58EF2 #E78EF2
triadic
#B58EF2 #F2B58E #8EF2B5
tetradic
#B58EF2 #F28E99 #CBF28E #8EF2E7
square
#B58EF2 #F28E99 #CBF28E #8EF2E7
split-complementary
#B58EF2 #F2E78E #99F28E
monochromatic
#6D20E5 #9157EC #B58EF2 #D9C5F8 #EDE4FC

Accessibility & contrast

On white

2.59
#B58EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B58EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58EF2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58EF2#FFFFFF#000000##000000
##B58EF21.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F6
Deuteranopia (green-blind)
#7CA0EF
Tritanopia (blue-blind)
#AA9FB4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b58ef2;
/* rgb */ color: rgb(181, 142, 242);
/* oklch */ color: oklch(72.3% 0.146 300.8);
Tailwind
colors: {
  custom: {
    50: '#cdaff7',
    500: '#b58ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b58ef2;
$custom-light: #cdaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b58ef2",
  "rgb": {
    "r": 181,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 263.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72254,
    "c": 0.14597,
    "h": 300.8
  },
  "luminance": 0.35581
}

Semantic roles & 50–950 ramp

primary
#B58EF2
secondary
#E9F4D7
accent
#DC0A8A
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85

Preview Lab

Preview with #B58EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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