#B452EB#B452EB

#B452EB is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.9% C 0.227 H 311.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B452EB
RGBrgb(180, 82, 235)
HSLhsl(278, 79%, 62%)
HSVhsv(278, 65%, 92%)
CMYKcmyk(23.4%, 65.1%, 0%, 7.8%)
CIE-LABlab(53.75, 63.90, -60.84)
CIE-LCHlch(53.75, 88.23, 316.40°)
OKLaboklab(62.91% 0.1492 -0.1717)
OKLCHoklch(62.91% 0.227 311)
XYZxyz(36.8323, 21.7369, 80.8365)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452EB #89EB52
analogous
#6752EB #B452EB #EB52D6
triadic
#B452EB #EBB452 #52EBB4
tetradic
#B452EB #EB6752 #89EB52 #52D6EB
square
#B452EB #EB6752 #89EB52 #52D6EB
split-complementary
#B452EB #D6EB52 #52EB67
monochromatic
#7714AE #9C1BE5 #B452EB #CC89F1 #E4C0F8

Accessibility & contrast

On white

3.93
#B452EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B452EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452EB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452EB#FFFFFF#000000##000000
##B452EB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#4082E8
Tritanopia (blue-blind)
#AD7198
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b452eb;
/* rgb */ color: rgb(180, 82, 235);
/* oklch */ color: oklch(62.9% 0.227 311.0);
Tailwind
colors: {
  custom: {
    50: '#cf89f2',
    500: '#b452eb',
    950: '#000000',
  },
}
SCSS
$custom: #b452eb;
$custom-light: #cf89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b452eb",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 278.431,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62913,
    "c": 0.22742,
    "h": 311
  },
  "luminance": 0.21736
}

Semantic roles & 50–950 ramp

primary
#B452EB
secondary
#C5E8B0
accent
#DC0A55
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B452EB

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

Preview Lab → · Contrast checker → · Palette generator →

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