#8257E6#8257E6

#8257E6 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.8% C 0.206 H 292.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8257E6
RGBrgb(130, 87, 230)
HSLhsl(258, 74%, 62%)
HSVhsv(258, 62%, 90%)
CMYKcmyk(43.5%, 62.2%, 0%, 9.8%)
CIE-LABlab(48.60, 49.78, -66.62)
CIE-LCHlch(48.60, 83.16, 306.77°)
OKLaboklab(57.83% 0.0793 -0.1903)
OKLCHoklch(57.83% 0.206 292.6)
XYZxyz(26.8931, 17.2746, 76.7649)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257E6 #BBE657
analogous
#5774E6 #8257E6 #CA57E6
triadic
#8257E6 #E68257 #57E682
tetradic
#8257E6 #E65774 #BBE657 #57E6CA
square
#8257E6 #E65774 #BBE657 #57E6CA
split-complementary
#8257E6 #E6CA57 #74E657
monochromatic
#4519A9 #5A22DE #8257E6 #AA8CEE #D1C2F6

Accessibility & contrast

On white

4.71
#8257E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8257E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8257E6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257E6#FFFFFF#000000##FFFFFF
##8257E61.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#657897
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8257e6;
/* rgb */ color: rgb(130, 87, 230);
/* oklch */ color: oklch(57.8% 0.206 292.6);
Tailwind
colors: {
  custom: {
    50: '#ad88ef',
    500: '#8257e6',
    950: '#000000',
  },
}
SCSS
$custom: #8257e6;
$custom-light: #ad88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8257e6",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 258.042,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.20612,
    "h": 292.6
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#8257E6
secondary
#D7E7B2
accent
#D60F9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8257E6

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

Preview Lab → · Contrast checker → · Palette generator →

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