#8256F2#8256F2

#8256F2 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.222 H 290.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8256F2
RGBrgb(130, 86, 242)
HSLhsl(257, 86%, 64%)
HSVhsv(257, 64%, 95%)
CMYKcmyk(46.3%, 64.5%, 0%, 5.1%)
CIE-LABlab(49.27, 53.56, -72.29)
CIE-LCHlch(49.27, 89.97, 306.54°)
OKLaboklab(58.58% 0.0792 -0.2069)
OKLCHoklch(58.58% 0.222 290.9)
XYZxyz(28.5562, 17.8112, 85.9205)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256F2 #C6F256
analogous
#5678F2 #8256F2 #D056F2
triadic
#8256F2 #F28256 #56F282
tetradic
#8256F2 #F25678 #C6F256 #56F2D0
square
#8256F2 #F25678 #C6F256 #56F2D0
split-complementary
#8256F2 #F2D056 #78F256
monochromatic
#400FBF #581DEE #8256F2 #AC8FF6 #D6C8FB

Accessibility & contrast

On white

4.60
#8256F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8256F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8256F2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256F2#FFFFFF#000000##FFFFFF
##8256F21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#5F7C9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8256f2;
/* rgb */ color: rgb(130, 86, 242);
/* oklch */ color: oklch(58.6% 0.222 290.9);
Tailwind
colors: {
  custom: {
    50: '#ae88f7',
    500: '#8256f2',
    950: '#000000',
  },
}
SCSS
$custom: #8256f2;
$custom-light: #ae88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8256f2",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 256.923,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58575,
    "c": 0.22156,
    "h": 290.9
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#8256F2
secondary
#DEEDB7
accent
#E203A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8256F2

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

Preview Lab → · Contrast checker → · Palette generator →

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