#8257EE#8257EE

#8257EE is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.216 H 291.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8257EE
RGBrgb(130, 87, 238)
HSLhsl(257, 82%, 64%)
HSVhsv(257, 63%, 93%)
CMYKcmyk(45.4%, 63.4%, 0%, 6.7%)
CIE-LABlab(49.17, 51.95, -70.20)
CIE-LCHlch(49.17, 87.33, 306.50°)
OKLaboklab(58.41% 0.0786 -0.2008)
OKLCHoklch(58.41% 0.216 291.4)
XYZxyz(28.0424, 17.7343, 82.8179)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257EE #C3EE57
analogous
#5777EE #8257EE #CD57EE
triadic
#8257EE #EE8257 #57EE82
tetradic
#8257EE #EE5777 #C3EE57 #57EECD
square
#8257EE #EE5777 #C3EE57 #57EECD
split-complementary
#8257EE #EECD57 #77EE57
monochromatic
#4213B8 #591FE8 #8257EE #AB8FF4 #D5C6F9

Accessibility & contrast

On white

4.62
#8257EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8257EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8257EE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257EE#FFFFFF#000000##FFFFFF
##8257EE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#0072EB
Tritanopia (blue-blind)
#617B9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8257ee;
/* rgb */ color: rgb(130, 87, 238);
/* oklch */ color: oklch(58.4% 0.216 291.4);
Tailwind
colors: {
  custom: {
    50: '#ae89f4',
    500: '#8257ee',
    950: '#000000',
  },
}
SCSS
$custom: #8257ee;
$custom-light: #ae89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8257ee",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 257.086,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.21562,
    "h": 291.4
  },
  "luminance": 0.17735
}

Semantic roles & 50–950 ramp

primary
#8257EE
secondary
#DCEBB6
accent
#DE08A1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8257EE

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

Preview Lab → · Contrast checker → · Palette generator →

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