#B460EC#B460EC

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

Color values

HEX#B460EC
RGBrgb(180, 96, 236)
HSLhsl(276, 79%, 65%)
HSVhsv(276, 59%, 93%)
CMYKcmyk(23.7%, 59.3%, 0%, 7.5%)
CIE-LABlab(56.21, 57.54, -57.45)
CIE-LCHlch(56.21, 81.31, 315.04°)
OKLaboklab(64.72% 0.133 -0.1618)
OKLCHoklch(64.72% 0.209 309.4)
XYZxyz(38.1426, 24.1258, 81.9880)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B460EC #98EC60
analogous
#6E60EC #B460EC #EC60DE
triadic
#B460EC #ECB460 #60ECB4
tetradic
#B460EC #EC6E60 #98EC60 #60DEEC
square
#B460EC #EC6E60 #98EC60 #60DEEC
split-complementary
#B460EC #DEEC60 #60EC6E
monochromatic
#7916BB #9A29E5 #B460EC #CE97F3 #E8CDF9

Accessibility & contrast

On white

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

On black

5.83
#B460EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B460EC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B460EC#FFFFFF#000000##000000
##B460EC1.003.615.835.83
#FFFFFF3.611.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883F0
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#AC7B9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b460ec;
/* rgb */ color: rgb(180, 96, 236);
/* oklch */ color: oklch(64.7% 0.209 309.4);
Tailwind
colors: {
  custom: {
    50: '#ce91f3',
    500: '#b460ec',
    950: '#000000',
  },
}
SCSS
$custom: #b460ec;
$custom-light: #ce91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b460ec",
  "rgb": {
    "r": 180,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 276,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64717,
    "c": 0.20943,
    "h": 309.4
  },
  "luminance": 0.24125
}

Semantic roles & 50–950 ramp

primary
#B460EC
secondary
#CFECBC
accent
#DB0B5E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B460EC

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

Preview Lab → · Contrast checker → · Palette generator →

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