#B481E2#B481E2

#B481E2 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.1% C 0.147 H 307.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B481E2
RGBrgb(180, 129, 226)
HSLhsl(272, 63%, 70%)
HSVhsv(272, 43%, 89%)
CMYKcmyk(20.4%, 42.9%, 0%, 11.4%)
CIE-LABlab(62.42, 37.92, -42.03)
CIE-LCHlch(62.42, 56.61, 312.06°)
OKLaboklab(69.14% 0.0888 -0.117)
OKLCHoklch(69.14% 0.147 307.2)
XYZxyz(40.3974, 30.8952, 75.7720)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481E2 #AFE281
analogous
#8381E2 #B481E2 #E281E0
triadic
#B481E2 #E2B481 #81E2B4
tetradic
#B481E2 #E28381 #AFE281 #81E0E2
square
#B481E2 #E28381 #AFE281 #81E0E2
split-complementary
#B481E2 #E0E281 #81E283
monochromatic
#782CBD #964FD7 #B481E2 #D2B3ED #EFE4F9

Accessibility & contrast

On white

2.93
#B481E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B481E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481E2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481E2#FFFFFF#000000##000000
##B481E21.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E6
Deuteranopia (green-blind)
#7797DF
Tritanopia (blue-blind)
#AD90A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b481e2;
/* rgb */ color: rgb(180, 129, 226);
/* oklch */ color: oklch(69.1% 0.147 307.2);
Tailwind
colors: {
  custom: {
    50: '#cca6eb',
    500: '#b481e2',
    950: '#000000',
  },
}
SCSS
$custom: #b481e2;
$custom-light: #cca6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b481e2",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 271.546,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69142,
    "c": 0.14685,
    "h": 307.2
  },
  "luminance": 0.30895
}

Semantic roles & 50–950 ramp

primary
#B481E2
secondary
#DFEDD2
accent
#CA1B6E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B481E2

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

Preview Lab → · Contrast checker → · Palette generator →

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