#B460F9#B460F9

#B460F9 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.5% C 0.223 H 306.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B460F9
RGBrgb(180, 96, 249)
HSLhsl(273, 93%, 68%)
HSVhsv(273, 61%, 98%)
CMYKcmyk(27.7%, 61.4%, 0%, 2.4%)
CIE-LABlab(56.99, 60.41, -63.44)
CIE-LCHlch(56.99, 87.60, 313.60°)
OKLaboklab(65.53% 0.1327 -0.1794)
OKLCHoklch(65.53% 0.223 306.5)
XYZxyz(40.1005, 24.9090, 92.2995)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B460F9 #A5F960
analogous
#6760F9 #B460F9 #F960F2
triadic
#B460F9 #F9B460 #60F9B4
tetradic
#B460F9 #F96760 #A5F960 #60F2F9
square
#B460F9 #F96760 #A5F960 #60F2F9
split-complementary
#B460F9 #F2F960 #60F967
monochromatic
#7908D7 #9825F7 #B460F9 #D09BFB #ECD6FD

Accessibility & contrast

On white

3.51
#B460F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B460F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B460F9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B460F9#FFFFFF#000000##000000
##B460F91.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FE
Deuteranopia (green-blind)
#4189F6
Tritanopia (blue-blind)
#A97FA4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b460f9;
/* rgb */ color: rgb(180, 96, 249);
/* oklch */ color: oklch(65.5% 0.223 306.5);
Tailwind
colors: {
  custom: {
    50: '#cf91fc',
    500: '#b460f9',
    950: '#000000',
  },
}
SCSS
$custom: #b460f9;
$custom-light: #cf91fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b460f9",
  "rgb": {
    "r": 180,
    "g": 96,
    "b": 249
  },
  "hsl": {
    "h": 272.941,
    "s": 92.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65526,
    "c": 0.22312,
    "h": 306.5
  },
  "luminance": 0.24909
}

Semantic roles & 50–950 ramp

primary
#B460F9
secondary
#D8F2C3
accent
#E60068
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B460F9

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

Preview Lab → · Contrast checker → · Palette generator →

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