#8257E9#8257E9

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

Color values

HEX#8257E9
RGBrgb(130, 87, 233)
HSLhsl(258, 77%, 63%)
HSVhsv(258, 63%, 91%)
CMYKcmyk(44.2%, 62.7%, 0%, 8.6%)
CIE-LABlab(48.82, 50.59, -67.97)
CIE-LCHlch(48.82, 84.73, 306.66°)
OKLaboklab(58.04% 0.0791 -0.1942)
OKLCHoklch(58.04% 0.21 292.1)
XYZxyz(27.3180, 17.4445, 79.0028)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257E9 #BEE957
analogous
#5775E9 #8257E9 #CB57E9
triadic
#8257E9 #E98257 #57E982
tetradic
#8257E9 #E95775 #BEE957 #57E9CB
square
#8257E9 #E95775 #BEE957 #57E9CB
split-complementary
#8257E9 #E9CB57 #75E957
monochromatic
#4417AF #5A21E2 #8257E9 #AA8DF0 #D3C3F7

Accessibility & contrast

On white

4.68
#8257E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8257E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8257E9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257E9#FFFFFF#000000##FFFFFF
##8257E91.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8257e9;
/* rgb */ color: rgb(130, 87, 233);
/* oklch */ color: oklch(58.0% 0.210 292.1);
Tailwind
colors: {
  custom: {
    50: '#ad88f1',
    500: '#8257e9',
    950: '#000000',
  },
}
SCSS
$custom: #8257e9;
$custom-light: #ad88f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8257e9",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 257.671,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58044,
    "c": 0.20969,
    "h": 292.1
  },
  "luminance": 0.17445
}

Semantic roles & 50–950 ramp

primary
#8257E9
secondary
#D9E8B3
accent
#D90C9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8257E9

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

Preview Lab → · Contrast checker → · Palette generator →

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