#8255F6#8255F6

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

Color values

HEX#8255F6
RGBrgb(130, 85, 246)
HSLhsl(257, 90%, 65%)
HSVhsv(257, 65%, 96%)
CMYKcmyk(47.2%, 65.4%, 0%, 3.5%)
CIE-LABlab(49.37, 55.17, -74.36)
CIE-LCHlch(49.37, 92.59, 306.57°)
OKLaboklab(58.74% 0.0797 -0.213)
OKLCHoklch(58.74% 0.227 290.5)
XYZxyz(29.0843, 17.8955, 89.0926)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255F6 #C9F655
analogous
#5579F6 #8255F6 #D255F6
triadic
#8255F6 #F68255 #55F682
tetradic
#8255F6 #F65579 #C9F655 #55F6D2
square
#8255F6 #F65579 #C9F655 #55F6D2
split-complementary
#8255F6 #F6D255 #79F655
monochromatic
#3F0AC6 #571BF3 #8255F6 #AD8FF9 #D7C9FC

Accessibility & contrast

On white

4.59
#8255F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8255F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8255F6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255F6#FFFFFF#000000##FFFFFF
##8255F61.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#5D7C9E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8255f6;
/* rgb */ color: rgb(130, 85, 246);
/* oklch */ color: oklch(58.7% 0.227 290.5);
Tailwind
colors: {
  custom: {
    50: '#af88fa',
    500: '#8255f6',
    950: '#000000',
  },
}
SCSS
$custom: #8255f6;
$custom-light: #af88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8255f6",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 246
  },
  "hsl": {
    "h": 256.77,
    "s": 89.944,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58741,
    "c": 0.22742,
    "h": 290.5
  },
  "luminance": 0.17897
}

Semantic roles & 50–950 ramp

primary
#8255F6
secondary
#E0EFB8
accent
#E600A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8255F6

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

Preview Lab → · Contrast checker → · Palette generator →

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