#8256D2#8256D2

#8256D2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.3% C 0.183 H 296.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8256D2
RGBrgb(130, 86, 210)
HSLhsl(261, 58%, 58%)
HSVhsv(261, 59%, 82%)
CMYKcmyk(38.1%, 59%, 0%, 17.6%)
CIE-LABlab(47.05, 45.00, -57.77)
CIE-LCHlch(47.05, 73.23, 307.92°)
OKLaboklab(56.26% 0.0815 -0.1642)
OKLCHoklch(56.26% 0.183 296.4)
XYZxyz(24.1636, 16.0541, 62.7859)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256D2 #A6D256
analogous
#5668D2 #8256D2 #C056D2
triadic
#8256D2 #D28256 #56D282
tetradic
#8256D2 #D25668 #A6D256 #56D2C0
square
#8256D2 #D25668 #A6D256 #56D2C0
split-complementary
#8256D2 #D2C056 #68D256
monochromatic
#482589 #6231B9 #8256D2 #A686DF #C9B7EC

Accessibility & contrast

On white

4.99
#8256D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8256D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256D2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256D2#FFFFFF#000000##FFFFFF
##8256D21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#216ECF
Tritanopia (blue-blind)
#6F718C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8256d2;
/* rgb */ color: rgb(130, 86, 210);
/* oklch */ color: oklch(56.3% 0.183 296.4);
Tailwind
colors: {
  custom: {
    50: '#ab87e0',
    500: '#8256d2',
    950: '#000000',
  },
}
SCSS
$custom: #8256d2;
$custom-light: #ab87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8256d2",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 261.29,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.18332,
    "h": 296.4
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#8256D2
secondary
#C9DBA9
accent
#E147AA
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8256D2

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

Preview Lab → · Contrast checker → · Palette generator →

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