#8257DC#8257DC

#8257DC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.194 H 294.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8257DC
RGBrgb(130, 87, 220)
HSLhsl(259, 66%, 60%)
HSVhsv(259, 60%, 86%)
CMYKcmyk(40.9%, 60.5%, 0%, 13.7%)
CIE-LABlab(47.92, 47.10, -62.07)
CIE-LCHlch(47.92, 77.92, 307.19°)
OKLaboklab(57.11% 0.0799 -0.1769)
OKLCHoklch(57.11% 0.194 294.3)
XYZxyz(25.5289, 16.7289, 69.5802)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257DC #B1DC57
analogous
#576FDC #8257DC #C457DC
triadic
#8257DC #DC8257 #57DC82
tetradic
#8257DC #DC576F #B1DC57 #57DCC4
square
#8257DC #DC576F #B1DC57 #57DCC4
split-complementary
#8257DC #DCC457 #6FDC57
monochromatic
#472099 #5E2ACB #8257DC #A88AE7 #CDBCF1

Accessibility & contrast

On white

4.83
#8257DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8257DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8257DC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257DC#FFFFFF#000000##FFFFFF
##8257DC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#0370D9
Tritanopia (blue-blind)
#6A7591
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8257dc;
/* rgb */ color: rgb(130, 87, 220);
/* oklch */ color: oklch(57.1% 0.194 294.3);
Tailwind
colors: {
  custom: {
    50: '#ac88e8',
    500: '#8257dc',
    950: '#000000',
  },
}
SCSS
$custom: #8257dc;
$custom-light: #ac88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8257dc",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 259.398,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57107,
    "c": 0.19409,
    "h": 294.3
  },
  "luminance": 0.1673
}

Semantic roles & 50–950 ramp

primary
#8257DC
secondary
#D0E1AE
accent
#CD1893
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8257DC

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

Preview Lab → · Contrast checker → · Palette generator →

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