#8257E5#8257E5

#8257E5 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.205 H 292.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8257E5
RGBrgb(130, 87, 229)
HSLhsl(258, 73%, 62%)
HSVhsv(258, 62%, 90%)
CMYKcmyk(43.2%, 62%, 0%, 10.2%)
CIE-LABlab(48.53, 49.51, -66.17)
CIE-LCHlch(48.53, 82.64, 306.81°)
OKLaboklab(57.75% 0.0794 -0.1889)
OKLCHoklch(57.75% 0.205 292.8)
XYZxyz(26.7531, 17.2186, 76.0275)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257E5 #BAE557
analogous
#5773E5 #8257E5 #C957E5
triadic
#8257E5 #E58257 #57E582
tetradic
#8257E5 #E55773 #BAE557 #57E5C9
square
#8257E5 #E55773 #BAE557 #57E5C9
split-complementary
#8257E5 #E5C957 #73E557
monochromatic
#451AA8 #5B22DD #8257E5 #A98CED #D1C1F5

Accessibility & contrast

On white

4.73
#8257E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8257E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8257E5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257E5#FFFFFF#000000##FFFFFF
##8257E51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#667896
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8257e5;
/* rgb */ color: rgb(130, 87, 229);
/* oklch */ color: oklch(57.8% 0.205 292.8);
Tailwind
colors: {
  custom: {
    50: '#ad88ee',
    500: '#8257e5',
    950: '#000000',
  },
}
SCSS
$custom: #8257e5;
$custom-light: #ad88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8257e5",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 258.169,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57752,
    "c": 0.20492,
    "h": 292.8
  },
  "luminance": 0.17219
}

Semantic roles & 50–950 ramp

primary
#8257E5
secondary
#D6E6B2
accent
#D5109A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8257E5

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

Preview Lab → · Contrast checker → · Palette generator →

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