#8256DB#8256DB

#8256DB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.194 H 294.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8256DB
RGBrgb(130, 86, 219)
HSLhsl(260, 65%, 60%)
HSVhsv(260, 61%, 86%)
CMYKcmyk(40.6%, 60.7%, 0%, 14.1%)
CIE-LABlab(47.64, 47.38, -61.94)
CIE-LCHlch(47.64, 77.98, 307.41°)
OKLaboklab(56.89% 0.0811 -0.1765)
OKLCHoklch(56.89% 0.194 294.7)
XYZxyz(25.3165, 16.5153, 68.8580)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256DB #AFDB56
analogous
#566CDB #8256DB #C556DB
triadic
#8256DB #DB8256 #56DB82
tetradic
#8256DB #DB566C #AFDB56 #56DBC5
square
#8256DB #DB566C #AFDB56 #56DBC5
split-complementary
#8256DB #DBC556 #6CDB56
monochromatic
#472097 #5F2BC9 #8256DB #A788E6 #CDBBF0

Accessibility & contrast

On white

4.88
#8256DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8256DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256DB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256DB#FFFFFF#000000##FFFFFF
##8256DB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#026FD8
Tritanopia (blue-blind)
#6B7490
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8256db;
/* rgb */ color: rgb(130, 86, 219);
/* oklch */ color: oklch(56.9% 0.194 294.7);
Tailwind
colors: {
  custom: {
    50: '#ac88e7',
    500: '#8256db',
    950: '#000000',
  },
}
SCSS
$custom: #8256db;
$custom-light: #ac88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8256db",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 259.85,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56886,
    "c": 0.19424,
    "h": 294.7
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#8256DB
secondary
#CFE0AD
accent
#E840B0
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8256DB

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

Preview Lab → · Contrast checker → · Palette generator →

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