#8257DD#8257DD

#8257DD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.195 H 294.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8257DD
RGBrgb(130, 87, 221)
HSLhsl(259, 66%, 60%)
HSVhsv(259, 61%, 87%)
CMYKcmyk(41.2%, 60.6%, 0%, 13.3%)
CIE-LABlab(47.98, 47.37, -62.53)
CIE-LCHlch(47.98, 78.44, 307.15°)
OKLaboklab(57.18% 0.0799 -0.1782)
OKLCHoklch(57.18% 0.195 294.1)
XYZxyz(25.6618, 16.7820, 70.2798)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257DD #B2DD57
analogous
#576FDD #8257DD #C557DD
triadic
#8257DD #DD8257 #57DD82
tetradic
#8257DD #DD576F #B2DD57 #57DDC5
square
#8257DD #DD576F #B2DD57 #57DDC5
split-complementary
#8257DD #DDC557 #6FDD57
monochromatic
#471F9A #5E2ACD #8257DD #A88AE7 #CEBDF2

Accessibility & contrast

On white

4.82
#8257DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8257DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8257DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257DD#FFFFFF#000000##FFFFFF
##8257DD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#0070DA
Tritanopia (blue-blind)
#6A7592
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8257dd;
/* rgb */ color: rgb(130, 87, 221);
/* oklch */ color: oklch(57.2% 0.195 294.1);
Tailwind
colors: {
  custom: {
    50: '#ac88e8',
    500: '#8257dd',
    950: '#000000',
  },
}
SCSS
$custom: #8257dd;
$custom-light: #ac88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8257dd",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 259.254,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57177,
    "c": 0.1953,
    "h": 294.1
  },
  "luminance": 0.16783
}

Semantic roles & 50–950 ramp

primary
#8257DD
secondary
#D1E1AE
accent
#CE1794
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8257DD

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

Preview Lab → · Contrast checker → · Palette generator →

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