#8254EF#8254EF

#8254EF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.221 H 291.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8254EF
RGBrgb(130, 84, 239)
HSLhsl(258, 83%, 63%)
HSVhsv(258, 65%, 94%)
CMYKcmyk(45.6%, 64.9%, 0%, 6.3%)
CIE-LABlab(48.66, 53.81, -71.60)
CIE-LCHlch(48.66, 89.56, 306.93°)
OKLaboklab(58.07% 0.0815 -0.2049)
OKLCHoklch(58.07% 0.221 291.7)
XYZxyz(27.9519, 17.3175, 83.5145)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254EF #C1EF54
analogous
#5473EF #8254EF #CF54EF
triadic
#8254EF #EF8254 #54EF82
tetradic
#8254EF #EF5473 #C1EF54 #54EFCF
square
#8254EF #EF5473 #C1EF54 #54EFCF
split-complementary
#8254EF #EFCF54 #73EF54
monochromatic
#4311B7 #591CEA #8254EF #AB8CF4 #D4C4F9

Accessibility & contrast

On white

4.70
#8254EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8254EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254EF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254EF#FFFFFF#000000##FFFFFF
##8254EF1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#61799A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8254ef;
/* rgb */ color: rgb(130, 84, 239);
/* oklch */ color: oklch(58.1% 0.221 291.7);
Tailwind
colors: {
  custom: {
    50: '#ae87f5',
    500: '#8254ef',
    950: '#000000',
  },
}
SCSS
$custom: #8254ef;
$custom-light: #ae87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8254ef",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 257.806,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58066,
    "c": 0.2205,
    "h": 291.7
  },
  "luminance": 0.17318
}

Semantic roles & 50–950 ramp

primary
#8254EF
secondary
#DBEBB4
accent
#DF069F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8254EF

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

Preview Lab → · Contrast checker → · Palette generator →

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