#8254BC#8254BC

#8254BC is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.5% C 0.159 H 301.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8254BC
RGBrgb(130, 84, 188)
HSLhsl(267, 44%, 53%)
HSVhsv(267, 55%, 74%)
CMYKcmyk(30.9%, 55.3%, 0%, 26.3%)
CIE-LABlab(45.24, 40.44, -47.96)
CIE-LCHlch(45.24, 62.73, 310.13°)
OKLaboklab(54.5% 0.0839 -0.1354)
OKLCHoklch(54.5% 0.159 301.8)
XYZxyz(21.4512, 14.7173, 49.2778)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254BC #8EBC54
analogous
#545ABC #8254BC #B654BC
triadic
#8254BC #BC8254 #54BC82
tetradic
#8254BC #BC545A #8EBC54 #54BCB6
square
#8254BC #BC545A #8EBC54 #54BCB6
split-complementary
#8254BC #BCB654 #5ABC54
monochromatic
#472A6B #643B97 #8254BC #A280CD #C2ACDE

Accessibility & contrast

On white

5.33
#8254BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8254BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254BC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254BC#FFFFFF#000000##FFFFFF
##8254BC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#3B6BBA
Tritanopia (blue-blind)
#776880
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8254bc;
/* rgb */ color: rgb(130, 84, 188);
/* oklch */ color: oklch(54.5% 0.159 301.8);
Tailwind
colors: {
  custom: {
    50: '#a986d1',
    500: '#8254bc',
    950: '#000000',
  },
}
SCSS
$custom: #8254bc;
$custom-light: #a986d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8254bc",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 266.538,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54496,
    "c": 0.15929,
    "h": 301.8
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#8254BC
secondary
#B8CCA0
accent
#D3549B
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8254BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8254BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva