#B452FF#B452FF

#B452FF is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.2% C 0.247 H 306.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B452FF
RGBrgb(180, 82, 255)
HSLhsl(274, 100%, 66%)
HSVhsv(274, 68%, 100%)
CMYKcmyk(29.4%, 67.8%, 0%, 0%)
CIE-LABlab(55.03, 68.18, -69.92)
CIE-LCHlch(55.03, 97.66, 314.27°)
OKLaboklab(64.24% 0.1473 -0.1983)
OKLCHoklch(64.24% 0.247 306.6)
XYZxyz(39.8858, 22.9583, 96.9185)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452FF #9DFF52
analogous
#5D52FF #B452FF #FF52F4
triadic
#B452FF #FFB452 #52FFB4
tetradic
#B452FF #FF5D52 #9DFF52 #52F4FF
square
#B452FF #FF5D52 #9DFF52 #52F4FF
split-complementary
#B452FF #F4FF52 #52FF5D
monochromatic
#7A00D7 #9915FF #B452FF #CF8FFF #E9CCFF

Accessibility & contrast

On white

3.76
#B452FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#B452FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452FF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452FF#FFFFFF#000000##000000
##B452FF1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#1D84FB
Tritanopia (blue-blind)
#A779A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b452ff;
/* rgb */ color: rgb(180, 82, 255);
/* oklch */ color: oklch(64.2% 0.247 306.6);
Tailwind
colors: {
  custom: {
    50: '#d089ff',
    500: '#b452ff',
    950: '#000000',
  },
}
SCSS
$custom: #b452ff;
$custom-light: #d089ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b452ff",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 273.988,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6424,
    "c": 0.24705,
    "h": 306.6
  },
  "luminance": 0.22958
}

Semantic roles & 50–950 ramp

primary
#B452FF
secondary
#D3F3BA
accent
#E60063
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B452FF

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

Preview Lab → · Contrast checker → · Palette generator →

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