#8257E8#8257E8

#8257E8 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.208 H 292.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8257E8
RGBrgb(130, 87, 232)
HSLhsl(258, 76%, 63%)
HSVhsv(258, 63%, 91%)
CMYKcmyk(44%, 62.5%, 0%, 9%)
CIE-LABlab(48.74, 50.32, -67.52)
CIE-LCHlch(48.74, 84.21, 306.70°)
OKLaboklab(57.97% 0.0791 -0.1929)
OKLCHoklch(57.97% 0.209 292.3)
XYZxyz(27.1756, 17.3876, 78.2526)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257E8 #BDE857
analogous
#5775E8 #8257E8 #CA57E8
triadic
#8257E8 #E88257 #57E882
tetradic
#8257E8 #E85775 #BDE857 #57E8CA
square
#8257E8 #E85775 #BDE857 #57E8CA
split-complementary
#8257E8 #E8CA57 #75E857
monochromatic
#4418AD #5A21E1 #8257E8 #AA8DEF #D2C3F7

Accessibility & contrast

On white

4.69
#8257E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8257E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8257E8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257E8#FFFFFF#000000##FFFFFF
##8257E81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#647998
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8257e8;
/* rgb */ color: rgb(130, 87, 232);
/* oklch */ color: oklch(58.0% 0.208 292.3);
Tailwind
colors: {
  custom: {
    50: '#ad88f0',
    500: '#8257e8',
    950: '#000000',
  },
}
SCSS
$custom: #8257e8;
$custom-light: #ad88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8257e8",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 257.793,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57971,
    "c": 0.2085,
    "h": 292.3
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#8257E8
secondary
#D8E8B3
accent
#D80D9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8257E8

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

Preview Lab → · Contrast checker → · Palette generator →

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