#8257ED#8257ED

#8257ED is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.214 H 291.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8257ED
RGBrgb(130, 87, 237)
HSLhsl(257, 81%, 64%)
HSVhsv(257, 63%, 93%)
CMYKcmyk(45.1%, 63.3%, 0%, 7.1%)
CIE-LABlab(49.10, 51.67, -69.75)
CIE-LCHlch(49.10, 86.81, 306.53°)
OKLaboklab(58.34% 0.0787 -0.1995)
OKLCHoklch(58.34% 0.214 291.5)
XYZxyz(27.8959, 17.6757, 82.0463)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257ED #C2ED57
analogous
#5777ED #8257ED #CD57ED
triadic
#8257ED #ED8257 #57ED82
tetradic
#8257ED #ED5777 #C2ED57 #57EDCD
square
#8257ED #ED5777 #C2ED57 #57EDCD
split-complementary
#8257ED #EDCD57 #77ED57
monochromatic
#4214B6 #5920E7 #8257ED #AB8EF3 #D4C6F9

Accessibility & contrast

On white

4.63
#8257ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8257ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8257ED
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257ED#FFFFFF#000000##FFFFFF
##8257ED1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#627A9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8257ed;
/* rgb */ color: rgb(130, 87, 237);
/* oklch */ color: oklch(58.3% 0.214 291.5);
Tailwind
colors: {
  custom: {
    50: '#ae89f4',
    500: '#8257ed',
    950: '#000000',
  },
}
SCSS
$custom: #8257ed;
$custom-light: #ae89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8257ed",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 257.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58341,
    "c": 0.21444,
    "h": 291.5
  },
  "luminance": 0.17677
}

Semantic roles & 50–950 ramp

primary
#8257ED
secondary
#DBEAB5
accent
#DD09A0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8257ED

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

Preview Lab → · Contrast checker → · Palette generator →

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