#8256DC#8256DC

#8256DC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.195 H 294.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8256DC
RGBrgb(130, 86, 220)
HSLhsl(260, 66%, 60%)
HSVhsv(260, 61%, 86%)
CMYKcmyk(40.9%, 60.9%, 0%, 13.7%)
CIE-LABlab(47.71, 47.65, -62.40)
CIE-LCHlch(47.71, 78.51, 307.36°)
OKLaboklab(56.96% 0.0811 -0.1778)
OKLCHoklch(56.96% 0.195 294.5)
XYZxyz(25.4485, 16.5681, 69.5534)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256DC #B0DC56
analogous
#566DDC #8256DC #C556DC
triadic
#8256DC #DC8256 #56DC82
tetradic
#8256DC #DC566D #B0DC56 #56DCC5
square
#8256DC #DC566D #B0DC56 #56DCC5
split-complementary
#8256DC #DCC556 #6DDC56
monochromatic
#472098 #5F2ACB #8256DC #A789E6 #CDBBF1

Accessibility & contrast

On white

4.87
#8256DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8256DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256DC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256DC#FFFFFF#000000##FFFFFF
##8256DC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#6A7491
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8256dc;
/* rgb */ color: rgb(130, 86, 220);
/* oklch */ color: oklch(57.0% 0.195 294.5);
Tailwind
colors: {
  custom: {
    50: '#ac88e8',
    500: '#8256dc',
    950: '#000000',
  },
}
SCSS
$custom: #8256dc;
$custom-light: #ac88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8256dc",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 259.701,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.19545,
    "h": 294.5
  },
  "luminance": 0.16569
}

Semantic roles & 50–950 ramp

primary
#8256DC
secondary
#D0E1AD
accent
#E93FB1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8256DC

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

Preview Lab → · Contrast checker → · Palette generator →

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