#8256F3#8256F3

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

Color values

HEX#8256F3
RGBrgb(130, 86, 243)
HSLhsl(257, 87%, 65%)
HSVhsv(257, 65%, 95%)
CMYKcmyk(46.5%, 64.6%, 0%, 4.7%)
CIE-LABlab(49.34, 53.83, -72.73)
CIE-LCHlch(49.34, 90.48, 306.51°)
OKLaboklab(58.65% 0.0791 -0.2082)
OKLCHoklch(58.65% 0.223 290.8)
XYZxyz(28.7068, 17.8714, 86.7136)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256F3 #C7F356
analogous
#5679F3 #8256F3 #D056F3
triadic
#8256F3 #F38256 #56F382
tetradic
#8256F3 #F35679 #C7F356 #56F3D0
square
#8256F3 #F35679 #C7F356 #56F3D0
split-complementary
#8256F3 #F3D056 #79F356
monochromatic
#400EC1 #581DEF #8256F3 #AC8FF7 #D7C8FB

Accessibility & contrast

On white

4.59
#8256F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8256F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8256F3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256F3#FFFFFF#000000##FFFFFF
##8256F31.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#5E7C9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8256f3;
/* rgb */ color: rgb(130, 86, 243);
/* oklch */ color: oklch(58.7% 0.223 290.8);
Tailwind
colors: {
  custom: {
    50: '#af88f8',
    500: '#8256f3',
    950: '#000000',
  },
}
SCSS
$custom: #8256f3;
$custom-light: #af88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8256f3",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 256.815,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58651,
    "c": 0.22272,
    "h": 290.8
  },
  "luminance": 0.17872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8256F3

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

Preview Lab → · Contrast checker → · Palette generator →

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