#B481D2#B481D2

#B481D2 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.4% C 0.128 H 312.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B481D2
RGBrgb(180, 129, 210)
HSLhsl(278, 47%, 66%)
HSVhsv(278, 39%, 82%)
CMYKcmyk(14.3%, 38.6%, 0%, 17.6%)
CIE-LABlab(61.70, 34.39, -34.21)
CIE-LCHlch(61.70, 48.51, 315.15°)
OKLaboklab(68.37% 0.0858 -0.0945)
OKLCHoklch(68.37% 0.128 312.2)
XYZxyz(38.3035, 30.0576, 64.7442)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481D2 #9FD281
analogous
#8C81D2 #B481D2 #D281C8
triadic
#B481D2 #D2B481 #81D2B4
tetradic
#B481D2 #D28C81 #9FD281 #81C8D2
square
#B481D2 #D28C81 #9FD281 #81C8D2
split-complementary
#B481D2 #C8D281 #81D28C
monochromatic
#7A39A0 #9954C2 #B481D2 #CFAEE2 #EADBF2

Accessibility & contrast

On white

3.00
#B481D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#B481D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481D2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481D2#FFFFFF#000000##000000
##B481D21.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7292D5
Deuteranopia (green-blind)
#7E96D0
Tritanopia (blue-blind)
#B18CA0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b481d2;
/* rgb */ color: rgb(180, 129, 210);
/* oklch */ color: oklch(68.4% 0.128 312.2);
Tailwind
colors: {
  custom: {
    50: '#cba6e0',
    500: '#b481d2',
    950: '#000000',
  },
}
SCSS
$custom: #b481d2;
$custom-light: #cba6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b481d2",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 277.778,
    "s": 47.368,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68369,
    "c": 0.12757,
    "h": 312.2
  },
  "luminance": 0.30057
}

Semantic roles & 50–950 ramp

primary
#B481D2
secondary
#D4E5CA
accent
#BB2B60
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B481D2

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

Preview Lab → · Contrast checker → · Palette generator →

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