#B450E8#B450E8

#B450E8 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.5% C 0.227 H 311.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B450E8
RGBrgb(180, 80, 232)
HSLhsl(279, 77%, 61%)
HSVhsv(279, 66%, 91%)
CMYKcmyk(22.4%, 65.5%, 0%, 9%)
CIE-LABlab(53.24, 64.16, -59.97)
CIE-LCHlch(53.24, 87.82, 316.93°)
OKLaboklab(62.49% 0.1515 -0.1691)
OKLCHoklch(62.49% 0.227 311.9)
XYZxyz(36.2539, 21.2677, 78.5236)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B450E8 #84E850
analogous
#6850E8 #B450E8 #E850D0
triadic
#B450E8 #E8B450 #50E8B4
tetradic
#B450E8 #E86850 #84E850 #50D0E8
square
#B450E8 #E86850 #84E850 #50D0E8
split-complementary
#B450E8 #D0E850 #50E868
monochromatic
#7616A8 #9C1DDE #B450E8 #CB86EF #E2BCF6

Accessibility & contrast

On white

4.00
#B450E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B450E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B450E8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B450E8#FFFFFF#000000##000000
##B450E81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#4181E5
Tritanopia (blue-blind)
#AE6F96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b450e8;
/* rgb */ color: rgb(180, 80, 232);
/* oklch */ color: oklch(62.5% 0.227 311.9);
Tailwind
colors: {
  custom: {
    50: '#cf88f0',
    500: '#b450e8',
    950: '#000000',
  },
}
SCSS
$custom: #b450e8;
$custom-light: #cf88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b450e8",
  "rgb": {
    "r": 180,
    "g": 80,
    "b": 232
  },
  "hsl": {
    "h": 279.474,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6249,
    "c": 0.22707,
    "h": 311.9
  },
  "luminance": 0.21267
}

Semantic roles & 50–950 ramp

primary
#B450E8
secondary
#C1E6AD
accent
#D90D52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B450E8

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

Preview Lab → · Contrast checker → · Palette generator →

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