#B460EB#B460EB

#B460EB is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.7% C 0.208 H 309.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B460EB
RGBrgb(180, 96, 235)
HSLhsl(276, 78%, 65%)
HSVhsv(276, 59%, 92%)
CMYKcmyk(23.4%, 59.1%, 0%, 7.8%)
CIE-LABlab(56.16, 57.32, -56.98)
CIE-LCHlch(56.16, 80.82, 315.17°)
OKLaboklab(64.66% 0.133 -0.1604)
OKLCHoklch(64.66% 0.208 309.7)
XYZxyz(37.9978, 24.0679, 81.2250)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B460EB #97EB60
analogous
#6E60EB #B460EB #EB60DD
triadic
#B460EB #EBB460 #60EBB4
tetradic
#B460EB #EB6E60 #97EB60 #60DDEB
square
#B460EB #EB6E60 #97EB60 #60DDEB
split-complementary
#B460EB #DDEB60 #60EB6E
monochromatic
#7917B9 #9A2AE4 #B460EB #CE96F2 #E7CDF9

Accessibility & contrast

On white

3.61
#B460EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B460EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B460EB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B460EB#FFFFFF#000000##000000
##B460EB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#4F88E8
Tritanopia (blue-blind)
#AD7A9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b460eb;
/* rgb */ color: rgb(180, 96, 235);
/* oklch */ color: oklch(64.7% 0.208 309.7);
Tailwind
colors: {
  custom: {
    50: '#ce91f2',
    500: '#b460eb',
    950: '#000000',
  },
}
SCSS
$custom: #b460eb;
$custom-light: #ce91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b460eb",
  "rgb": {
    "r": 180,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 276.259,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64656,
    "c": 0.20838,
    "h": 309.7
  },
  "luminance": 0.24067
}

Semantic roles & 50–950 ramp

primary
#B460EB
secondary
#CEEBBC
accent
#DA0C5D
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B460EB

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

Preview Lab → · Contrast checker → · Palette generator →

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