#B481DF#B481DF

#B481DF is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.0% C 0.143 H 308.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B481DF
RGBrgb(180, 129, 223)
HSLhsl(273, 59%, 69%)
HSVhsv(273, 42%, 87%)
CMYKcmyk(19.3%, 42.2%, 0%, 12.5%)
CIE-LABlab(62.28, 37.24, -40.58)
CIE-LCHlch(62.28, 55.08, 312.55°)
OKLaboklab(68.99% 0.0883 -0.1128)
OKLCHoklch(68.99% 0.143 308)
XYZxyz(39.9894, 30.7320, 73.6229)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481DF #ACDF81
analogous
#8581DF #B481DF #DF81DB
triadic
#B481DF #DFB481 #81DFB4
tetradic
#B481DF #DF8581 #ACDF81 #81DBDF
square
#B481DF #DF8581 #ACDF81 #81DBDF
split-complementary
#B481DF #DBDF81 #81DF85
monochromatic
#792FB7 #9750D3 #B481DF #D1B2EB #EEE3F8

Accessibility & contrast

On white

2.94
#B481DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#B481DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481DF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481DF#FFFFFF#000000##000000
##B481DF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94E2
Deuteranopia (green-blind)
#7897DC
Tritanopia (blue-blind)
#AE90A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b481df;
/* rgb */ color: rgb(180, 129, 223);
/* oklch */ color: oklch(69.0% 0.143 308.0);
Tailwind
colors: {
  custom: {
    50: '#cca6e9',
    500: '#b481df',
    950: '#000000',
  },
}
SCSS
$custom: #b481df;
$custom-light: #cca6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b481df",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 272.553,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68993,
    "c": 0.14321,
    "h": 308
  },
  "luminance": 0.30732
}

Semantic roles & 50–950 ramp

primary
#B481DF
secondary
#DDECD0
accent
#C71E6C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B481DF

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

Preview Lab → · Contrast checker → · Palette generator →

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