#8257E1#8257E1

#8257E1 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.5% C 0.200 H 293.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8257E1
RGBrgb(130, 87, 225)
HSLhsl(259, 70%, 61%)
HSVhsv(259, 61%, 88%)
CMYKcmyk(42.2%, 61.3%, 0%, 11.8%)
CIE-LABlab(48.26, 48.44, -64.35)
CIE-LCHlch(48.26, 80.55, 306.97°)
OKLaboklab(57.46% 0.0796 -0.1836)
OKLCHoklch(57.46% 0.2 293.5)
XYZxyz(26.2010, 16.9977, 73.1200)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257E1 #B6E157
analogous
#5771E1 #8257E1 #C757E1
triadic
#8257E1 #E18257 #57E182
tetradic
#8257E1 #E15771 #B6E157 #57E1C7
square
#8257E1 #E15771 #B6E157 #57E1C7
split-complementary
#8257E1 #E1C757 #71E157
monochromatic
#461DA1 #5C26D5 #8257E1 #A98BEA #CFBFF4

Accessibility & contrast

On white

4.77
#8257E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8257E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8257E1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257E1#FFFFFF#000000##FFFFFF
##8257E11.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#687694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8257e1;
/* rgb */ color: rgb(130, 87, 225);
/* oklch */ color: oklch(57.5% 0.200 293.5);
Tailwind
colors: {
  custom: {
    50: '#ad88eb',
    500: '#8257e1',
    950: '#000000',
  },
}
SCSS
$custom: #8257e1;
$custom-light: #ad88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8257e1",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 258.696,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57463,
    "c": 0.20012,
    "h": 293.5
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#8257E1
secondary
#D4E4B0
accent
#D21497
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8257E1

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

Preview Lab → · Contrast checker → · Palette generator →

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