#8255E5#8255E5

#8255E5 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.208 H 293.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8255E5
RGBrgb(130, 85, 229)
HSLhsl(259, 73%, 62%)
HSVhsv(259, 63%, 90%)
CMYKcmyk(43.2%, 62.9%, 0%, 10.2%)
CIE-LABlab(48.13, 50.59, -66.82)
CIE-LCHlch(48.13, 83.81, 307.13°)
OKLaboklab(57.46% 0.0815 -0.1908)
OKLCHoklch(57.46% 0.208 293.1)
XYZxyz(26.5934, 16.8992, 75.9743)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255E5 #B8E555
analogous
#5570E5 #8255E5 #CA55E5
triadic
#8255E5 #E58255 #55E582
tetradic
#8255E5 #E55570 #B8E555 #55E5CA
square
#8255E5 #E55570 #B8E555 #55E5CA
split-complementary
#8255E5 #E5CA55 #70E555
monochromatic
#4519A6 #5C22DB #8255E5 #A98AED #D0BFF5

Accessibility & contrast

On white

4.79
#8255E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8255E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255E5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255E5#FFFFFF#000000##FFFFFF
##8255E51.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#667695
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8255e5;
/* rgb */ color: rgb(130, 85, 229);
/* oklch */ color: oklch(57.5% 0.208 293.1);
Tailwind
colors: {
  custom: {
    50: '#ad87ee',
    500: '#8255e5',
    950: '#000000',
  },
}
SCSS
$custom: #8255e5;
$custom-light: #ad87ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8255e5",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 258.75,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5746,
    "c": 0.20751,
    "h": 293.1
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#8255E5
secondary
#D5E6B0
accent
#D61098
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8255E5

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

Preview Lab → · Contrast checker → · Palette generator →

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