#8255E6#8255E6

#8255E6 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.5% C 0.209 H 293.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8255E6
RGBrgb(130, 85, 230)
HSLhsl(259, 74%, 62%)
HSVhsv(259, 63%, 90%)
CMYKcmyk(43.5%, 63%, 0%, 9.8%)
CIE-LABlab(48.20, 50.86, -67.27)
CIE-LCHlch(48.20, 84.33, 307.09°)
OKLaboklab(57.53% 0.0814 -0.1922)
OKLCHoklch(57.53% 0.209 293)
XYZxyz(26.7334, 16.9552, 76.7117)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255E6 #B9E655
analogous
#5571E6 #8255E6 #CB55E6
triadic
#8255E6 #E68255 #55E682
tetradic
#8255E6 #E65571 #B9E655 #55E6CB
square
#8255E6 #E65571 #B9E655 #55E6CB
split-complementary
#8255E6 #E6CB55 #71E655
monochromatic
#4519A8 #5B21DD #8255E6 #A98AEE #D0C0F6

Accessibility & contrast

On white

4.78
#8255E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8255E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255E6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255E6#FFFFFF#000000##FFFFFF
##8255E61.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#667796
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8255e6;
/* rgb */ color: rgb(130, 85, 230);
/* oklch */ color: oklch(57.5% 0.209 293.0);
Tailwind
colors: {
  custom: {
    50: '#ad87ef',
    500: '#8255e6',
    950: '#000000',
  },
}
SCSS
$custom: #8255e6;
$custom-light: #ad87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8255e6",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 258.621,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57534,
    "c": 0.20869,
    "h": 293
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#8255E6
secondary
#D6E6B1
accent
#D60F99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8255E6

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

Preview Lab → · Contrast checker → · Palette generator →

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