#B452E8#B452E8

#B452E8 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.7% C 0.224 H 311.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B452E8
RGBrgb(180, 82, 232)
HSLhsl(279, 77%, 62%)
HSVhsv(279, 65%, 91%)
CMYKcmyk(22.4%, 64.7%, 0%, 9%)
CIE-LABlab(53.56, 63.27, -59.46)
CIE-LCHlch(53.56, 86.82, 316.78°)
OKLaboklab(62.72% 0.1493 -0.1676)
OKLCHoklch(62.72% 0.224 311.7)
XYZxyz(36.4025, 21.5650, 78.5731)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452E8 #86E852
analogous
#6952E8 #B452E8 #E852D1
triadic
#B452E8 #E8B452 #52E8B4
tetradic
#B452E8 #E86952 #86E852 #52D1E8
square
#B452E8 #E86952 #86E852 #52D1E8
split-complementary
#B452E8 #D1E852 #52E869
monochromatic
#7616A9 #9C1EDF #B452E8 #CB88EF #E3BEF6

Accessibility & contrast

On white

3.95
#B452E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B452E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452E8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452E8#FFFFFF#000000##000000
##B452E81.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#4382E5
Tritanopia (blue-blind)
#AE7096
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b452e8;
/* rgb */ color: rgb(180, 82, 232);
/* oklch */ color: oklch(62.7% 0.224 311.7);
Tailwind
colors: {
  custom: {
    50: '#ce89f0',
    500: '#b452e8',
    950: '#000000',
  },
}
SCSS
$custom: #b452e8;
$custom-light: #ce89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b452e8",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 279.2,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62721,
    "c": 0.22448,
    "h": 311.7
  },
  "luminance": 0.21564
}

Semantic roles & 50–950 ramp

primary
#B452E8
secondary
#C2E7AF
accent
#D90D53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B452E8

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

Preview Lab → · Contrast checker → · Palette generator →

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