#B460E4#B460E4

#B460E4 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.2% C 0.201 H 311.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B460E4
RGBrgb(180, 96, 228)
HSLhsl(278, 71%, 64%)
HSVhsv(278, 58%, 89%)
CMYKcmyk(21.1%, 57.9%, 0%, 10.6%)
CIE-LABlab(55.76, 55.81, -53.69)
CIE-LCHlch(55.76, 77.44, 316.10°)
OKLaboklab(64.24% 0.1329 -0.1508)
OKLCHoklch(64.24% 0.201 311.4)
XYZxyz(37.0063, 23.6713, 76.0033)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B460E4 #90E460
analogous
#7260E4 #B460E4 #E460D2
triadic
#B460E4 #E4B460 #60E4B4
tetradic
#B460E4 #E47260 #90E460 #60D2E4
square
#B460E4 #E47260 #90E460 #60D2E4
split-complementary
#B460E4 #D2E460 #60E472
monochromatic
#781DAC #9B2CDB #B460E4 #CD94ED #E5C9F6

Accessibility & contrast

On white

3.66
#B460E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#B460E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B460E4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B460E4#FFFFFF#000000##000000
##B460E41.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3381E8
Deuteranopia (green-blind)
#5587E1
Tritanopia (blue-blind)
#AE7899
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b460e4;
/* rgb */ color: rgb(180, 96, 228);
/* oklch */ color: oklch(64.2% 0.201 311.4);
Tailwind
colors: {
  custom: {
    50: '#ce91ed',
    500: '#b460e4',
    950: '#000000',
  },
}
SCSS
$custom: #b460e4;
$custom-light: #ce91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b460e4",
  "rgb": {
    "r": 180,
    "g": 96,
    "b": 228
  },
  "hsl": {
    "h": 278.182,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64237,
    "c": 0.20102,
    "h": 311.4
  },
  "luminance": 0.2367
}

Semantic roles & 50–950 ramp

primary
#B460E4
secondary
#CAE7B9
accent
#D31359
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B460E4

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

Preview Lab → · Contrast checker → · Palette generator →

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