#B452FA#B452FA

#B452FA is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.9% C 0.242 H 307.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B452FA
RGBrgb(180, 82, 250)
HSLhsl(275, 94%, 65%)
HSVhsv(275, 67%, 98%)
CMYKcmyk(28%, 67.2%, 0%, 2%)
CIE-LABlab(54.70, 67.09, -67.68)
CIE-LCHlch(54.70, 95.30, 314.75°)
OKLaboklab(63.9% 0.1479 -0.1918)
OKLCHoklch(63.9% 0.242 307.6)
XYZxyz(39.0914, 22.6405, 92.7347)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452FA #98FA52
analogous
#6052FA #B452FA #FA52EC
triadic
#B452FA #FAB452 #52FAB4
tetradic
#B452FA #FA6052 #98FA52 #52ECFA
square
#B452FA #FA6052 #98FA52 #52ECFA
split-complementary
#B452FA #ECFA52 #52FA60
monochromatic
#7906CC #9A17F8 #B452FA #CE8DFC #E8C9FD

Accessibility & contrast

On white

3.80
#B452FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#B452FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452FA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452FA#FFFFFF#000000##000000
##B452FA1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#2984F6
Tritanopia (blue-blind)
#A977A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b452fa;
/* rgb */ color: rgb(180, 82, 250);
/* oklch */ color: oklch(63.9% 0.242 307.6);
Tailwind
colors: {
  custom: {
    50: '#cf89fd',
    500: '#b452fa',
    950: '#000000',
  },
}
SCSS
$custom: #b452fa;
$custom-light: #cf89fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b452fa",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 250
  },
  "hsl": {
    "h": 275,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.639,
    "c": 0.24214,
    "h": 307.6
  },
  "luminance": 0.2264
}

Semantic roles & 50–950 ramp

primary
#B452FA
secondary
#CFF0B7
accent
#E60060
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B452FA

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

Preview Lab → · Contrast checker → · Palette generator →

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