#8257EB#8257EB

#8257EB is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.212 H 291.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8257EB
RGBrgb(130, 87, 235)
HSLhsl(257, 79%, 63%)
HSVhsv(257, 63%, 92%)
CMYKcmyk(44.7%, 63%, 0%, 7.8%)
CIE-LABlab(48.96, 51.13, -68.86)
CIE-LCHlch(48.96, 85.77, 306.60°)
OKLaboklab(58.19% 0.0789 -0.1969)
OKLCHoklch(58.19% 0.212 291.8)
XYZxyz(27.6054, 17.5595, 80.5160)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257EB #C0EB57
analogous
#5776EB #8257EB #CC57EB
triadic
#8257EB #EB8257 #57EB82
tetradic
#8257EB #EB5776 #C0EB57 #57EBCC
square
#8257EB #EB5776 #C0EB57 #57EBCC
split-complementary
#8257EB #EBCC57 #76EB57
monochromatic
#4315B2 #5920E4 #8257EB #AB8EF2 #D3C4F8

Accessibility & contrast

On white

4.65
#8257EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8257EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8257EB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257EB#FFFFFF#000000##FFFFFF
##8257EB1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#637A99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8257eb;
/* rgb */ color: rgb(130, 87, 235);
/* oklch */ color: oklch(58.2% 0.212 291.8);
Tailwind
colors: {
  custom: {
    50: '#ae89f2',
    500: '#8257eb',
    950: '#000000',
  },
}
SCSS
$custom: #8257eb;
$custom-light: #ae89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8257eb",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 257.432,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.21207,
    "h": 291.8
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#8257EB
secondary
#DAE9B4
accent
#DB0A9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8257EB

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

Preview Lab → · Contrast checker → · Palette generator →

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