#8256DD#8256DD

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

Color values

HEX#8256DD
RGBrgb(130, 86, 221)
HSLhsl(260, 67%, 60%)
HSVhsv(260, 61%, 87%)
CMYKcmyk(41.2%, 61.1%, 0%, 13.3%)
CIE-LABlab(47.78, 47.91, -62.86)
CIE-LCHlch(47.78, 79.04, 307.32°)
OKLaboklab(57.03% 0.081 -0.1792)
OKLCHoklch(57.03% 0.197 294.3)
XYZxyz(25.5814, 16.6212, 70.2530)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256DD #B1DD56
analogous
#566DDD #8256DD #C656DD
triadic
#8256DD #DD8256 #56DD82
tetradic
#8256DD #DD566D #B1DD56 #56DDC6
square
#8256DD #DD566D #B1DD56 #56DDC6
split-complementary
#8256DD #DDC656 #6DDD56
monochromatic
#471F9A #5E29CD #8256DD #A889E7 #CDBCF2

Accessibility & contrast

On white

4.86
#8256DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8256DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256DD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256DD#FFFFFF#000000##FFFFFF
##8256DD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#6A7491
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8256dd;
/* rgb */ color: rgb(130, 86, 221);
/* oklch */ color: oklch(57.0% 0.197 294.3);
Tailwind
colors: {
  custom: {
    50: '#ac88e8',
    500: '#8256dd',
    950: '#000000',
  },
}
SCSS
$custom: #8256dd;
$custom-light: #ac88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8256dd",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 259.556,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.19665,
    "h": 294.3
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#8256DD
secondary
#D0E1AE
accent
#CE1793
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8256DD

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

Preview Lab → · Contrast checker → · Palette generator →

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