#8254F2#8254F2

#8254F2 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.224 H 291.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8254F2
RGBrgb(130, 84, 242)
HSLhsl(257, 86%, 64%)
HSVhsv(257, 65%, 95%)
CMYKcmyk(46.3%, 65.3%, 0%, 5.1%)
CIE-LABlab(48.88, 54.61, -72.92)
CIE-LCHlch(48.88, 91.10, 306.83°)
OKLaboklab(58.3% 0.0811 -0.2088)
OKLCHoklch(58.3% 0.224 291.2)
XYZxyz(28.3988, 17.4963, 85.8680)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254F2 #C4F254
analogous
#5475F2 #8254F2 #D154F2
triadic
#8254F2 #F28254 #54F282
tetradic
#8254F2 #F25475 #C4F254 #54F2D1
square
#8254F2 #F25475 #C4F254 #54F2D1
split-complementary
#8254F2 #F2D154 #75F254
monochromatic
#410EBD #581BEE #8254F2 #AC8DF6 #D5C6FB

Accessibility & contrast

On white

4.67
#8254F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8254F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8254F2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254F2#FFFFFF#000000##FFFFFF
##8254F21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#5F7A9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8254f2;
/* rgb */ color: rgb(130, 84, 242);
/* oklch */ color: oklch(58.3% 0.224 291.2);
Tailwind
colors: {
  custom: {
    50: '#af87f7',
    500: '#8254f2',
    950: '#000000',
  },
}
SCSS
$custom: #8254f2;
$custom-light: #af87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8254f2",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 257.468,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58296,
    "c": 0.22399,
    "h": 291.2
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#8254F2
secondary
#DCEDB5
accent
#E203A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8254F2

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

Preview Lab → · Contrast checker → · Palette generator →

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