#8256D3#8256D3

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

Color values

HEX#8256D3
RGBrgb(130, 86, 211)
HSLhsl(261, 59%, 58%)
HSVhsv(261, 59%, 83%)
CMYKcmyk(38.4%, 59.2%, 0%, 17.3%)
CIE-LABlab(47.11, 45.26, -58.24)
CIE-LCHlch(47.11, 73.76, 307.85°)
OKLaboklab(56.33% 0.0814 -0.1656)
OKLCHoklch(56.33% 0.185 296.2)
XYZxyz(24.2885, 16.1041, 63.4441)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256D3 #A7D356
analogous
#5668D3 #8256D3 #C056D3
triadic
#8256D3 #D38256 #56D382
tetradic
#8256D3 #D35668 #A7D356 #56D3C0
square
#8256D3 #D35668 #A7D356 #56D3C0
split-complementary
#8256D3 #D3C056 #68D356
monochromatic
#48248B #6131BB #8256D3 #A687E0 #CAB7EC

Accessibility & contrast

On white

4.98
#8256D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8256D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256D3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256D3#FFFFFF#000000##FFFFFF
##8256D31.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#1F6ED0
Tritanopia (blue-blind)
#6E718C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8256d3;
/* rgb */ color: rgb(130, 86, 211);
/* oklch */ color: oklch(56.3% 0.185 296.2);
Tailwind
colors: {
  custom: {
    50: '#ab87e1',
    500: '#8256d3',
    950: '#000000',
  },
}
SCSS
$custom: #8256d3;
$custom-light: #ab87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8256d3",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 261.12,
    "s": 58.685,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56328,
    "c": 0.18455,
    "h": 296.2
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#8256D3
secondary
#CADBAA
accent
#E246AB
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8256D3

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

Preview Lab → · Contrast checker → · Palette generator →

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