#8256F1#8256F1

#8256F1 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.5% C 0.220 H 291.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8256F1
RGBrgb(130, 86, 241)
HSLhsl(257, 85%, 64%)
HSVhsv(257, 64%, 95%)
CMYKcmyk(46.1%, 64.3%, 0%, 5.5%)
CIE-LABlab(49.19, 53.29, -71.85)
CIE-LCHlch(49.19, 89.45, 306.56°)
OKLaboklab(58.5% 0.0793 -0.2056)
OKLCHoklch(58.5% 0.22 291.1)
XYZxyz(28.4064, 17.7513, 85.1317)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256F1 #C5F156
analogous
#5678F1 #8256F1 #CF56F1
triadic
#8256F1 #F18256 #56F182
tetradic
#8256F1 #F15678 #C5F156 #56F1CF
square
#8256F1 #F15678 #C5F156 #56F1CF
split-complementary
#8256F1 #F1CF56 #78F156
monochromatic
#4110BD #581DEC #8256F1 #AC8FF6 #D6C7FA

Accessibility & contrast

On white

4.61
#8256F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8256F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8256F1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256F1#FFFFFF#000000##FFFFFF
##8256F11.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#0072EE
Tritanopia (blue-blind)
#607B9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8256f1;
/* rgb */ color: rgb(130, 86, 241);
/* oklch */ color: oklch(58.5% 0.220 291.1);
Tailwind
colors: {
  custom: {
    50: '#ae88f7',
    500: '#8256f1',
    950: '#000000',
  },
}
SCSS
$custom: #8256f1;
$custom-light: #ae88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8256f1",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 257.032,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.22038,
    "h": 291.1
  },
  "luminance": 0.17752
}

Semantic roles & 50–950 ramp

primary
#8256F1
secondary
#DDECB6
accent
#E104A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8256F1

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

Preview Lab → · Contrast checker → · Palette generator →

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