#8254D2#8254D2

#8254D2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.186 H 296.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8254D2
RGBrgb(130, 84, 210)
HSLhsl(262, 58%, 58%)
HSVhsv(262, 60%, 82%)
CMYKcmyk(38.1%, 60%, 0%, 17.6%)
CIE-LABlab(46.63, 46.10, -58.44)
CIE-LCHlch(46.63, 74.43, 308.27°)
OKLaboklab(55.96% 0.0838 -0.1662)
OKLCHoklch(55.96% 0.186 296.8)
XYZxyz(24.0061, 15.7392, 62.7335)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254D2 #A4D254
analogous
#5465D2 #8254D2 #C154D2
triadic
#8254D2 #D28254 #54D282
tetradic
#8254D2 #D25465 #A4D254 #54D2C1
square
#8254D2 #D25465 #A4D254 #54D2C1
split-complementary
#8254D2 #D2C154 #65D254
monochromatic
#482488 #6231B8 #8254D2 #A584DF #C9B5EB

Accessibility & contrast

On white

5.06
#8254D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8254D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254D2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254D2#FFFFFF#000000##FFFFFF
##8254D21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#1C6DCF
Tritanopia (blue-blind)
#6F6F8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8254d2;
/* rgb */ color: rgb(130, 84, 210);
/* oklch */ color: oklch(56.0% 0.186 296.8);
Tailwind
colors: {
  custom: {
    50: '#ab86e1',
    500: '#8254d2',
    950: '#000000',
  },
}
SCSS
$custom: #8254d2;
$custom-light: #ab86e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8254d2",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 261.905,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.18614,
    "h": 296.8
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

primary
#8254D2
secondary
#C8DAA8
accent
#E246A9
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8254D2

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

Preview Lab → · Contrast checker → · Palette generator →

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