#8257E4#8257E4

#8257E4 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.7% C 0.204 H 293.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8257E4
RGBrgb(130, 87, 228)
HSLhsl(258, 72%, 62%)
HSVhsv(258, 62%, 89%)
CMYKcmyk(43%, 61.8%, 0%, 10.6%)
CIE-LABlab(48.46, 49.24, -65.71)
CIE-LCHlch(48.46, 82.12, 306.85°)
OKLaboklab(57.68% 0.0794 -0.1876)
OKLCHoklch(57.68% 0.204 293)
XYZxyz(26.6139, 17.1629, 75.2943)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257E4 #B9E457
analogous
#5773E4 #8257E4 #C957E4
triadic
#8257E4 #E48257 #57E482
tetradic
#8257E4 #E45773 #B9E457 #57E4C9
square
#8257E4 #E45773 #B9E457 #57E4C9
split-complementary
#8257E4 #E4C957 #73E457
monochromatic
#451BA6 #5B23DB #8257E4 #A98CEC #D0C0F5

Accessibility & contrast

On white

4.74
#8257E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8257E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8257E4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257E4#FFFFFF#000000##FFFFFF
##8257E41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#677795
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8257e4;
/* rgb */ color: rgb(130, 87, 228);
/* oklch */ color: oklch(57.7% 0.204 293.0);
Tailwind
colors: {
  custom: {
    50: '#ad88ed',
    500: '#8257e4',
    950: '#000000',
  },
}
SCSS
$custom: #8257e4;
$custom-light: #ad88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8257e4",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 258.298,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57679,
    "c": 0.20373,
    "h": 293
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#8257E4
secondary
#D6E6B1
accent
#D41199
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8257E4

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

Preview Lab → · Contrast checker → · Palette generator →

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