#8256F4#8256F4

#8256F4 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.224 H 290.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8256F4
RGBrgb(130, 86, 244)
HSLhsl(257, 88%, 65%)
HSVhsv(257, 65%, 96%)
CMYKcmyk(46.7%, 64.8%, 0%, 4.3%)
CIE-LABlab(49.41, 54.10, -73.17)
CIE-LCHlch(49.41, 91.00, 306.48°)
OKLaboklab(58.73% 0.0789 -0.2095)
OKLCHoklch(58.73% 0.224 290.6)
XYZxyz(28.8582, 17.9320, 87.5111)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256F4 #C8F456
analogous
#5679F4 #8256F4 #D156F4
triadic
#8256F4 #F48256 #56F482
tetradic
#8256F4 #F45679 #C8F456 #56F4D1
square
#8256F4 #F45679 #C8F456 #56F4D1
split-complementary
#8256F4 #F4D156 #79F456
monochromatic
#3F0DC3 #581DF0 #8256F4 #AD8FF8 #D7C9FB

Accessibility & contrast

On white

4.58
#8256F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8256F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8256F4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256F4#FFFFFF#000000##000000
##8256F41.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#5E7C9E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8256f4;
/* rgb */ color: rgb(130, 86, 244);
/* oklch */ color: oklch(58.7% 0.224 290.6);
Tailwind
colors: {
  custom: {
    50: '#af88f9',
    500: '#8256f4',
    950: '#000000',
  },
}
SCSS
$custom: #8256f4;
$custom-light: #af88f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8256f4",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 244
  },
  "hsl": {
    "h": 256.709,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58727,
    "c": 0.2239,
    "h": 290.6
  },
  "luminance": 0.17933
}

Semantic roles & 50–950 ramp

primary
#8256F4
secondary
#DFEEB8
accent
#E401A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8256F4

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

Preview Lab → · Contrast checker → · Palette generator →

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