#8256EF#8256EF

#8256EF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.218 H 291.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8256EF
RGBrgb(130, 86, 239)
HSLhsl(257, 83%, 64%)
HSVhsv(257, 64%, 94%)
CMYKcmyk(45.6%, 64%, 0%, 6.3%)
CIE-LABlab(49.05, 52.75, -70.96)
CIE-LCHlch(49.05, 88.42, 306.62°)
OKLaboklab(58.35% 0.0795 -0.203)
OKLCHoklch(58.35% 0.218 291.4)
XYZxyz(28.1093, 17.6324, 83.5670)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256EF #C3EF56
analogous
#5676EF #8256EF #CE56EF
triadic
#8256EF #EF8256 #56EF82
tetradic
#8256EF #EF5676 #C3EF56 #56EFCE
square
#8256EF #EF5676 #C3EF56 #56EFCE
split-complementary
#8256EF #EFCE56 #76EF56
monochromatic
#4212B9 #591EEA #8256EF #AB8EF4 #D5C6FA

Accessibility & contrast

On white

4.64
#8256EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8256EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8256EF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256EF#FFFFFF#000000##FFFFFF
##8256EF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#617B9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8256ef;
/* rgb */ color: rgb(130, 86, 239);
/* oklch */ color: oklch(58.3% 0.218 291.4);
Tailwind
colors: {
  custom: {
    50: '#ae88f5',
    500: '#8256ef',
    950: '#000000',
  },
}
SCSS
$custom: #8256ef;
$custom-light: #ae88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8256ef",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 257.255,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.21804,
    "h": 291.4
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#8256EF
secondary
#DCEBB5
accent
#DF06A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8256EF

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

Preview Lab → · Contrast checker → · Palette generator →

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