#8257EA#8257EA

#8257EA is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.211 H 292.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8257EA
RGBrgb(130, 87, 234)
HSLhsl(258, 78%, 63%)
HSVhsv(258, 63%, 92%)
CMYKcmyk(44.4%, 62.8%, 0%, 8.2%)
CIE-LABlab(48.89, 50.86, -68.42)
CIE-LCHlch(48.89, 85.25, 306.63°)
OKLaboklab(58.12% 0.079 -0.1955)
OKLCHoklch(58.12% 0.211 292)
XYZxyz(27.4613, 17.5018, 79.7572)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257EA #BFEA57
analogous
#5775EA #8257EA #CB57EA
triadic
#8257EA #EA8257 #57EA82
tetradic
#8257EA #EA5775 #BFEA57 #57EACB
square
#8257EA #EA5775 #BFEA57 #57EACB
split-complementary
#8257EA #EACB57 #75EA57
monochromatic
#4316B1 #5A21E3 #8257EA #AA8DF1 #D3C4F8

Accessibility & contrast

On white

4.67
#8257EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8257EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8257EA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257EA#FFFFFF#000000##FFFFFF
##8257EA1.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)
#0076EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#637999
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8257ea;
/* rgb */ color: rgb(130, 87, 234);
/* oklch */ color: oklch(58.1% 0.211 292.0);
Tailwind
colors: {
  custom: {
    50: '#ad88f2',
    500: '#8257ea',
    950: '#000000',
  },
}
SCSS
$custom: #8257ea;
$custom-light: #ad88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8257ea",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 257.551,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58118,
    "c": 0.21088,
    "h": 292
  },
  "luminance": 0.17503
}

Semantic roles & 50–950 ramp

primary
#8257EA
secondary
#D9E9B4
accent
#DA0B9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8257EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8257EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva