#8256CD#8256CD

#8256CD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.177 H 297.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8256CD
RGBrgb(130, 86, 205)
HSLhsl(262, 54%, 57%)
HSVhsv(262, 58%, 80%)
CMYKcmyk(36.6%, 58%, 0%, 19.6%)
CIE-LABlab(46.72, 43.69, -55.42)
CIE-LCHlch(46.72, 70.57, 308.25°)
OKLaboklab(55.92% 0.0816 -0.1573)
OKLCHoklch(55.92% 0.177 297.4)
XYZxyz(23.5504, 15.8088, 59.5564)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256CD #A1CD56
analogous
#5666CD #8256CD #BE56CD
triadic
#8256CD #CD8256 #56CD82
tetradic
#8256CD #CD5666 #A1CD56 #56CDBE
square
#8256CD #CD5666 #A1CD56 #56CDBE
split-complementary
#8256CD #CDBE56 #66CD56
monochromatic
#482682 #6334B1 #8256CD #A585DB #C8B4E9

Accessibility & contrast

On white

5.05
#8256CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8256CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256CD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256CD#FFFFFF#000000##FFFFFF
##8256CD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#2A6DCA
Tritanopia (blue-blind)
#716F89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8256cd;
/* rgb */ color: rgb(130, 86, 205);
/* oklch */ color: oklch(55.9% 0.177 297.4);
Tailwind
colors: {
  custom: {
    50: '#ab87dd',
    500: '#8256cd',
    950: '#000000',
  },
}
SCSS
$custom: #8256cd;
$custom-light: #ab87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8256cd",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 262.185,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.17721,
    "h": 297.4
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#8256CD
secondary
#C6D8A7
accent
#DE4AA7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8256CD

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

Preview Lab → · Contrast checker → · Palette generator →

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