#B452ED#B452ED

#B452ED is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.0% C 0.229 H 310.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B452ED
RGBrgb(180, 82, 237)
HSLhsl(278, 81%, 63%)
HSVhsv(278, 65%, 93%)
CMYKcmyk(24.1%, 65.4%, 0%, 7.1%)
CIE-LABlab(53.87, 64.32, -61.77)
CIE-LCHlch(53.87, 89.17, 316.16°)
OKLaboklab(63.04% 0.149 -0.1744)
OKLCHoklch(63.04% 0.229 310.5)
XYZxyz(37.1228, 21.8531, 82.3668)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452ED #8BED52
analogous
#6652ED #B452ED #ED52D9
triadic
#B452ED #EDB452 #52EDB4
tetradic
#B452ED #ED6652 #8BED52 #52D9ED
square
#B452ED #ED6652 #8BED52 #52D9ED
split-complementary
#B452ED #D9ED52 #52ED66
monochromatic
#7713B2 #9C1BE7 #B452ED #CC89F3 #E4C1F9

Accessibility & contrast

On white

3.91
#B452ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B452ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452ED
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452ED#FFFFFF#000000##000000
##B452ED1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b452ed;
/* rgb */ color: rgb(180, 82, 237);
/* oklch */ color: oklch(63.0% 0.229 310.5);
Tailwind
colors: {
  custom: {
    50: '#cf89f4',
    500: '#b452ed',
    950: '#000000',
  },
}
SCSS
$custom: #b452ed;
$custom-light: #cf89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b452ed",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 277.935,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63041,
    "c": 0.22939,
    "h": 310.5
  },
  "luminance": 0.21852
}

Semantic roles & 50–950 ramp

primary
#B452ED
secondary
#C6EAB1
accent
#DE0857
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B452ED

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

Preview Lab → · Contrast checker → · Palette generator →

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