#8256DF#8256DF

#8256DF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.2% C 0.199 H 294.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8256DF
RGBrgb(130, 86, 223)
HSLhsl(259, 68%, 61%)
HSVhsv(259, 61%, 87%)
CMYKcmyk(41.7%, 61.4%, 0%, 12.5%)
CIE-LABlab(47.92, 48.45, -63.77)
CIE-LCHlch(47.92, 80.09, 307.22°)
OKLaboklab(57.17% 0.0809 -0.1819)
OKLCHoklch(57.17% 0.199 294)
XYZxyz(25.8494, 16.7285, 71.6647)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256DF #B3DF56
analogous
#566EDF #8256DF #C656DF
triadic
#8256DF #DF8256 #56DF82
tetradic
#8256DF #DF566E #B3DF56 #56DFC6
square
#8256DF #DF566E #B3DF56 #56DFC6
split-complementary
#8256DF #DFC656 #6EDF56
monochromatic
#471E9D #5E27D0 #8256DF #A889E9 #CEBDF2

Accessibility & contrast

On white

4.83
#8256DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8256DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256DF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256DF#FFFFFF#000000##FFFFFF
##8256DF1.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)
#0073E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#697593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8256df;
/* rgb */ color: rgb(130, 86, 223);
/* oklch */ color: oklch(57.2% 0.199 294.0);
Tailwind
colors: {
  custom: {
    50: '#ac88ea',
    500: '#8256df',
    950: '#000000',
  },
}
SCSS
$custom: #8256df;
$custom-light: #ac88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8256df",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 259.27,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57171,
    "c": 0.19905,
    "h": 294
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#8256DF
secondary
#D2E2AE
accent
#D01594
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8256DF

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

Preview Lab → · Contrast checker → · Palette generator →

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