#8256F6#8256F6

#8256F6 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.226 H 290.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8256F6
RGBrgb(130, 86, 246)
HSLhsl(257, 90%, 65%)
HSVhsv(257, 65%, 96%)
CMYKcmyk(47.2%, 65%, 0%, 3.5%)
CIE-LABlab(49.56, 54.65, -74.05)
CIE-LCHlch(49.56, 92.03, 306.43°)
OKLaboklab(58.88% 0.0787 -0.2121)
OKLCHoklch(58.88% 0.226 290.4)
XYZxyz(29.1635, 18.0541, 89.1191)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256F6 #CAF656
analogous
#567AF6 #8256F6 #D256F6
triadic
#8256F6 #F68256 #56F682
tetradic
#8256F6 #F6567A #CAF656 #56F6D2
square
#8256F6 #F6567A #CAF656 #56F6D2
split-complementary
#8256F6 #F6D256 #7AF656
monochromatic
#3E0BC7 #571CF3 #8256F6 #AD90F9 #D8CAFC

Accessibility & contrast

On white

4.55
#8256F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8256F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8256F6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256F6#FFFFFF#000000##000000
##8256F61.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#5D7D9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8256f6;
/* rgb */ color: rgb(130, 86, 246);
/* oklch */ color: oklch(58.9% 0.226 290.4);
Tailwind
colors: {
  custom: {
    50: '#af88fa',
    500: '#8256f6',
    950: '#000000',
  },
}
SCSS
$custom: #8256f6;
$custom-light: #af88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8256f6",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 246
  },
  "hsl": {
    "h": 256.5,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.5888,
    "c": 0.22622,
    "h": 290.4
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#8256F6
secondary
#E0EFB9
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8256F6

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

Preview Lab → · Contrast checker → · Palette generator →

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