#8256F8#8256F8

#8256F8 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.229 H 290.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8256F8
RGBrgb(130, 86, 248)
HSLhsl(256, 92%, 65%)
HSVhsv(256, 65%, 97%)
CMYKcmyk(47.6%, 65.3%, 0%, 2.7%)
CIE-LABlab(49.71, 55.19, -74.92)
CIE-LCHlch(49.71, 93.05, 306.38°)
OKLaboklab(59.03% 0.0785 -0.2147)
OKLCHoklch(59.03% 0.229 290.1)
XYZxyz(29.4722, 18.1776, 90.7445)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256F8 #CCF856
analogous
#567BF8 #8256F8 #D356F8
triadic
#8256F8 #F88256 #56F882
tetradic
#8256F8 #F8567B #CCF856 #56F8D3
square
#8256F8 #F8567B #CCF856 #56F8D3
split-complementary
#8256F8 #F8D356 #7BF856
monochromatic
#3D08CB #571BF6 #8256F8 #AD91FA #D9CCFD

Accessibility & contrast

On white

4.53
#8256F8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8256F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8256F8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256F8#FFFFFF#000000##000000
##8256F81.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FD
Deuteranopia (green-blind)
#0072F5
Tritanopia (blue-blind)
#5B7EA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8256f8;
/* rgb */ color: rgb(130, 86, 248);
/* oklch */ color: oklch(59.0% 0.229 290.1);
Tailwind
colors: {
  custom: {
    50: '#af88fc',
    500: '#8256f8',
    950: '#000000',
  },
}
SCSS
$custom: #8256f8;
$custom-light: #af88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8256f8",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 248
  },
  "hsl": {
    "h": 256.296,
    "s": 92.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59034,
    "c": 0.22855,
    "h": 290.1
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#8256F8
secondary
#E1F0BA
accent
#E600A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8256F8

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

Preview Lab → · Contrast checker → · Palette generator →

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