#B452F0#B452F0

#B452F0 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.2% C 0.232 H 309.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B452F0
RGBrgb(180, 82, 240)
HSLhsl(277, 84%, 63%)
HSVhsv(277, 66%, 94%)
CMYKcmyk(25%, 65.8%, 0%, 5.9%)
CIE-LABlab(54.06, 64.95, -63.14)
CIE-LCHlch(54.06, 90.59, 315.81°)
OKLaboklab(63.24% 0.1488 -0.1784)
OKLCHoklch(63.24% 0.232 309.8)
XYZxyz(37.5648, 22.0299, 84.6945)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452F0 #8EF052
analogous
#6552F0 #B452F0 #F052DD
triadic
#B452F0 #F0B452 #52F0B4
tetradic
#B452F0 #F06552 #8EF052 #52DDF0
square
#B452F0 #F06552 #8EF052 #52DDF0
split-complementary
#B452F0 #DDF052 #52F065
monochromatic
#7810B8 #9C1AEB #B452F0 #CC8AF5 #E5C3FA

Accessibility & contrast

On white

3.88
#B452F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B452F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452F0
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452F0#FFFFFF#000000##000000
##B452F01.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#3A83EC
Tritanopia (blue-blind)
#AC739A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b452f0;
/* rgb */ color: rgb(180, 82, 240);
/* oklch */ color: oklch(63.2% 0.232 309.8);
Tailwind
colors: {
  custom: {
    50: '#cf89f6',
    500: '#b452f0',
    950: '#000000',
  },
}
SCSS
$custom: #b452f0;
$custom-light: #cf89f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b452f0",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 240
  },
  "hsl": {
    "h": 277.215,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.23233,
    "h": 309.8
  },
  "luminance": 0.22029
}

Semantic roles & 50–950 ramp

primary
#B452F0
secondary
#C8EBB3
accent
#E00558
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B452F0

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

Preview Lab → · Contrast checker → · Palette generator →

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