#8256CA#8256CA

#8256CA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.174 H 298.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8256CA
RGBrgb(130, 86, 202)
HSLhsl(263, 52%, 56%)
HSVhsv(263, 57%, 79%)
CMYKcmyk(35.6%, 57.4%, 0%, 20.8%)
CIE-LABlab(46.53, 42.90, -54.00)
CIE-LCHlch(46.53, 68.97, 308.47°)
OKLaboklab(55.72% 0.0816 -0.1532)
OKLCHoklch(55.72% 0.174 298)
XYZxyz(23.1917, 15.6654, 57.6675)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256CA #9ECA56
analogous
#5664CA #8256CA #BC56CA
triadic
#8256CA #CA8256 #56CA82
tetradic
#8256CA #CA5664 #9ECA56 #56CABC
square
#8256CA #CA5664 #9ECA56 #56CABC
split-complementary
#8256CA #CABC56 #64CA56
monochromatic
#48287E #6336AD #8256CA #A485D9 #C7B3E7

Accessibility & contrast

On white

5.08
#8256CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8256CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256CA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256CA#FFFFFF#000000##FFFFFF
##8256CA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECE
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#726E88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8256ca;
/* rgb */ color: rgb(130, 86, 202);
/* oklch */ color: oklch(55.7% 0.174 298.0);
Tailwind
colors: {
  custom: {
    50: '#aa87db',
    500: '#8256ca',
    950: '#000000',
  },
}
SCSS
$custom: #8256ca;
$custom-light: #aa87db;
$custom-dark: #000000;
JSON
{
  "hex": "#8256ca",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 262.759,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.17353,
    "h": 298
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#8256CA
secondary
#C4D6A6
accent
#DC4CA5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8256CA

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

Preview Lab → · Contrast checker → · Palette generator →

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