#B460E2#B460E2

#B460E2 is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.1% C 0.199 H 311.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B460E2
RGBrgb(180, 96, 226)
HSLhsl(279, 69%, 63%)
HSVhsv(279, 58%, 89%)
CMYKcmyk(20.4%, 57.5%, 0%, 11.4%)
CIE-LABlab(55.65, 55.38, -52.75)
CIE-LCHlch(55.65, 76.48, 316.39°)
OKLaboklab(64.12% 0.1329 -0.148)
OKLCHoklch(64.12% 0.199 311.9)
XYZxyz(36.7303, 23.5609, 74.5496)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B460E2 #8EE260
analogous
#7360E2 #B460E2 #E260CF
triadic
#B460E2 #E2B460 #60E2B4
tetradic
#B460E2 #E27360 #8EE260 #60CFE2
square
#B460E2 #E27360 #8EE260 #60CFE2
split-complementary
#B460E2 #CFE260 #60E273
monochromatic
#781FA9 #9C2CD9 #B460E2 #CC94EB #E5C8F5

Accessibility & contrast

On white

3.68
#B460E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B460E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B460E2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B460E2#FFFFFF#000000##000000
##B460E21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E6
Deuteranopia (green-blind)
#5787DF
Tritanopia (blue-blind)
#AF7798
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b460e2;
/* rgb */ color: rgb(180, 96, 226);
/* oklch */ color: oklch(64.1% 0.199 311.9);
Tailwind
colors: {
  custom: {
    50: '#cd91ec',
    500: '#b460e2',
    950: '#000000',
  },
}
SCSS
$custom: #b460e2;
$custom-light: #cd91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b460e2",
  "rgb": {
    "r": 180,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 278.769,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6412,
    "c": 0.19893,
    "h": 311.9
  },
  "luminance": 0.2356
}

Semantic roles & 50–950 ramp

primary
#B460E2
secondary
#C8E6B8
accent
#D11457
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B460E2

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

Preview Lab → · Contrast checker → · Palette generator →

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