#B452EE#B452EE

#B452EE is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.1% C 0.230 H 310.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B452EE
RGBrgb(180, 82, 238)
HSLhsl(278, 82%, 63%)
HSVhsv(278, 66%, 93%)
CMYKcmyk(24.4%, 65.5%, 0%, 6.7%)
CIE-LABlab(53.93, 64.53, -62.23)
CIE-LCHlch(53.93, 89.64, 316.04°)
OKLaboklab(63.11% 0.1489 -0.1757)
OKLCHoklch(63.11% 0.23 310.3)
XYZxyz(37.2693, 21.9117, 83.1384)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452EE #8CEE52
analogous
#6652EE #B452EE #EE52DA
triadic
#B452EE #EEB452 #52EEB4
tetradic
#B452EE #EE6652 #8CEE52 #52DAEE
square
#B452EE #EE6652 #8CEE52 #52DAEE
split-complementary
#B452EE #DAEE52 #52EE66
monochromatic
#7812B4 #9C1AE9 #B452EE #CC8AF3 #E4C1F9

Accessibility & contrast

On white

3.90
#B452EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B452EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452EE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452EE#FFFFFF#000000##000000
##B452EE1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#3C83EA
Tritanopia (blue-blind)
#AC7299
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b452ee;
/* rgb */ color: rgb(180, 82, 238);
/* oklch */ color: oklch(63.1% 0.230 310.3);
Tailwind
colors: {
  custom: {
    50: '#cf89f4',
    500: '#b452ee',
    950: '#000000',
  },
}
SCSS
$custom: #b452ee;
$custom-light: #cf89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b452ee",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 277.692,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63106,
    "c": 0.23036,
    "h": 310.3
  },
  "luminance": 0.21911
}

Semantic roles & 50–950 ramp

primary
#B452EE
secondary
#C7EAB2
accent
#DE0757
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B452EE

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

Preview Lab → · Contrast checker → · Palette generator →

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