#B452FD#B452FD

#B452FD is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 64.1% C 0.245 H 307.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B452FD
RGBrgb(180, 82, 253)
HSLhsl(274, 98%, 66%)
HSVhsv(274, 68%, 99%)
CMYKcmyk(28.9%, 67.6%, 0%, 0.8%)
CIE-LABlab(54.90, 67.74, -69.03)
CIE-LCHlch(54.90, 96.72, 314.46°)
OKLaboklab(64.1% 0.1475 -0.1957)
OKLCHoklch(64.1% 0.245 307)
XYZxyz(39.5655, 22.8302, 95.2318)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452FD #9BFD52
analogous
#5E52FD #B452FD #FD52F0
triadic
#B452FD #FDB452 #52FDB4
tetradic
#B452FD #FD5E52 #9BFD52 #52F0FD
square
#B452FD #FD5E52 #9BFD52 #52F0FD
split-complementary
#B452FD #F0FD52 #52FD5E
monochromatic
#7902D2 #9A15FC #B452FD #CE8EFE #E8CBFE

Accessibility & contrast

On white

3.77
#B452FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B452FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452FD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452FD#FFFFFF#000000##000000
##B452FD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#2284F9
Tritanopia (blue-blind)
#A878A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b452fd;
/* rgb */ color: rgb(180, 82, 253);
/* oklch */ color: oklch(64.1% 0.245 307.0);
Tailwind
colors: {
  custom: {
    50: '#d089ff',
    500: '#b452fd',
    950: '#000000',
  },
}
SCSS
$custom: #b452fd;
$custom-light: #d089ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b452fd",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 274.386,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64103,
    "c": 0.24509,
    "h": 307
  },
  "luminance": 0.2283
}

Semantic roles & 50–950 ramp

primary
#B452FD
secondary
#D1F2B9
accent
#E60062
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B452FD

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

Preview Lab → · Contrast checker → · Palette generator →

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