#B460F5#B460F5

#B460F5 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.3% C 0.219 H 307.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B460F5
RGBrgb(180, 96, 245)
HSLhsl(274, 88%, 67%)
HSVhsv(274, 61%, 96%)
CMYKcmyk(26.5%, 60.8%, 0%, 3.9%)
CIE-LABlab(56.74, 59.52, -61.61)
CIE-LCHlch(56.74, 85.67, 314.01°)
OKLaboklab(65.27% 0.1328 -0.174)
OKLCHoklch(65.27% 0.219 307.4)
XYZxyz(39.4833, 24.6621, 89.0488)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B460F5 #A1F560
analogous
#6A60F5 #B460F5 #F560EB
triadic
#B460F5 #F5B460 #60F5B4
tetradic
#B460F5 #F56A60 #A1F560 #60EBF5
square
#B460F5 #F56A60 #A1F560 #60EBF5
split-complementary
#B460F5 #EBF560 #60F56A
monochromatic
#7A0DCE #9926F1 #B460F5 #CF9AF9 #EAD3FC

Accessibility & contrast

On white

3.54
#B460F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B460F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B460F5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B460F5#FFFFFF#000000##000000
##B460F51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1185FA
Deuteranopia (green-blind)
#4589F2
Tritanopia (blue-blind)
#AA7EA2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b460f5;
/* rgb */ color: rgb(180, 96, 245);
/* oklch */ color: oklch(65.3% 0.219 307.4);
Tailwind
colors: {
  custom: {
    50: '#ce91f9',
    500: '#b460f5',
    950: '#000000',
  },
}
SCSS
$custom: #b460f5;
$custom-light: #ce91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b460f5",
  "rgb": {
    "r": 180,
    "g": 96,
    "b": 245
  },
  "hsl": {
    "h": 273.826,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65273,
    "c": 0.21891,
    "h": 307.4
  },
  "luminance": 0.24662
}

Semantic roles & 50–950 ramp

primary
#B460F5
secondary
#D5F0C1
accent
#E50164
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B460F5

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

Preview Lab → · Contrast checker → · Palette generator →

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