#B452F3#B452F3

#B452F3 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.4% C 0.235 H 309.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B452F3
RGBrgb(180, 82, 243)
HSLhsl(277, 87%, 64%)
HSVhsv(277, 66%, 95%)
CMYKcmyk(25.9%, 66.3%, 0%, 4.7%)
CIE-LABlab(54.25, 65.59, -64.51)
CIE-LCHlch(54.25, 92.00, 315.48°)
OKLaboklab(63.43% 0.1485 -0.1824)
OKLCHoklch(63.43% 0.235 309.2)
XYZxyz(38.0141, 22.2096, 87.0610)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452F3 #91F352
analogous
#6352F3 #B452F3 #F352E1
triadic
#B452F3 #F3B452 #52F3B4
tetradic
#B452F3 #F36352 #91F352 #52E1F3
square
#B452F3 #F36352 #91F352 #52E1F3
split-complementary
#B452F3 #E1F352 #52F363
monochromatic
#780DBD #9B19EF #B452F3 #CD8BF7 #E6C4FB

Accessibility & contrast

On white

3.86
#B452F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B452F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452F3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452F3#FFFFFF#000000##000000
##B452F31.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#3583EF
Tritanopia (blue-blind)
#AB749C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b452f3;
/* rgb */ color: rgb(180, 82, 243);
/* oklch */ color: oklch(63.4% 0.235 309.2);
Tailwind
colors: {
  custom: {
    50: '#cf89f8',
    500: '#b452f3',
    950: '#000000',
  },
}
SCSS
$custom: #b452f3;
$custom-light: #cf89f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b452f3",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 276.522,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63433,
    "c": 0.23527,
    "h": 309.2
  },
  "luminance": 0.22209
}

Semantic roles & 50–950 ramp

primary
#B452F3
secondary
#CAEDB4
accent
#E4025A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B452F3

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

Preview Lab → · Contrast checker → · Palette generator →

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