#B460F2#B460F2

#B460F2 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.1% C 0.216 H 308.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B460F2
RGBrgb(180, 96, 242)
HSLhsl(275, 85%, 66%)
HSVhsv(275, 60%, 95%)
CMYKcmyk(25.6%, 60.3%, 0%, 5.1%)
CIE-LABlab(56.57, 58.85, -60.23)
CIE-LCHlch(56.57, 84.21, 314.34°)
OKLaboklab(65.09% 0.1329 -0.1699)
OKLCHoklch(65.09% 0.216 308)
XYZxyz(39.0290, 24.4804, 86.6563)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B460F2 #9EF260
analogous
#6B60F2 #B460F2 #F260E7
triadic
#B460F2 #F2B460 #60F2B4
tetradic
#B460F2 #F26B60 #9EF260 #60E7F2
square
#B460F2 #F26B60 #9EF260 #60E7F2
split-complementary
#B460F2 #E7F260 #60F26B
monochromatic
#7A10C7 #9927ED #B460F2 #CF99F7 #E9D1FB

Accessibility & contrast

On white

3.56
#B460F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B460F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B460F2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B460F2#FFFFFF#000000##000000
##B460F21.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B84F7
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#AB7DA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b460f2;
/* rgb */ color: rgb(180, 96, 242);
/* oklch */ color: oklch(65.1% 0.216 308.0);
Tailwind
colors: {
  custom: {
    50: '#ce91f7',
    500: '#b460f2',
    950: '#000000',
  },
}
SCSS
$custom: #b460f2;
$custom-light: #ce91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b460f2",
  "rgb": {
    "r": 180,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 274.521,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65086,
    "c": 0.21575,
    "h": 308
  },
  "luminance": 0.2448
}

Semantic roles & 50–950 ramp

primary
#B460F2
secondary
#D3EFBF
accent
#E10462
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B460F2

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

Preview Lab → · Contrast checker → · Palette generator →

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