#8256CE#8256CE

#8256CE is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.0% C 0.178 H 297.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8256CE
RGBrgb(130, 86, 206)
HSLhsl(262, 55%, 57%)
HSVhsv(262, 58%, 81%)
CMYKcmyk(36.9%, 58.3%, 0%, 19.2%)
CIE-LABlab(46.79, 43.95, -55.89)
CIE-LCHlch(46.79, 71.10, 308.18°)
OKLaboklab(55.99% 0.0815 -0.1587)
OKLCHoklch(55.99% 0.178 297.2)
XYZxyz(23.6715, 15.8573, 60.1942)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256CE #A2CE56
analogous
#5666CE #8256CE #BE56CE
triadic
#8256CE #CE8256 #56CE82
tetradic
#8256CE #CE5666 #A2CE56 #56CEBE
square
#8256CE #CE5666 #A2CE56 #56CEBE
split-complementary
#8256CE #CEBE56 #66CE56
monochromatic
#482683 #6234B3 #8256CE #A585DC #C8B5EA

Accessibility & contrast

On white

5.03
#8256CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8256CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256CE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256CE#FFFFFF#000000##FFFFFF
##8256CE1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD2
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#706F8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8256ce;
/* rgb */ color: rgb(130, 86, 206);
/* oklch */ color: oklch(56.0% 0.178 297.2);
Tailwind
colors: {
  custom: {
    50: '#ab87de',
    500: '#8256ce',
    950: '#000000',
  },
}
SCSS
$custom: #8256ce;
$custom-light: #ab87de;
$custom-dark: #000000;
JSON
{
  "hex": "#8256ce",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 262,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.17844,
    "h": 297.2
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#8256CE
secondary
#C6D8A8
accent
#DE49A8
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8256CE

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

Preview Lab → · Contrast checker → · Palette generator →

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