#8255E2#8255E2

#8255E2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.2% C 0.204 H 293.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8255E2
RGBrgb(130, 85, 226)
HSLhsl(259, 71%, 61%)
HSVhsv(259, 62%, 89%)
CMYKcmyk(42.5%, 62.4%, 0%, 11.4%)
CIE-LABlab(47.92, 49.79, -65.46)
CIE-LCHlch(47.92, 82.25, 307.26°)
OKLaboklab(57.24% 0.0817 -0.1869)
OKLCHoklch(57.24% 0.204 293.6)
XYZxyz(26.1782, 16.7331, 73.7873)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255E2 #B5E255
analogous
#556EE2 #8255E2 #C855E2
triadic
#8255E2 #E28255 #55E282
tetradic
#8255E2 #E2556E #B5E255 #55E2C8
square
#8255E2 #E2556E #B5E255 #55E2C8
split-complementary
#8255E2 #E2C855 #6EE255
monochromatic
#461BA1 #5D24D5 #8255E2 #A889EB #CFBEF4

Accessibility & contrast

On white

4.83
#8255E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8255E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255E2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255E2#FFFFFF#000000##FFFFFF
##8255E21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#687594
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8255e2;
/* rgb */ color: rgb(130, 85, 226);
/* oklch */ color: oklch(57.2% 0.204 293.6);
Tailwind
colors: {
  custom: {
    50: '#ad87ec',
    500: '#8255e2',
    950: '#000000',
  },
}
SCSS
$custom: #8255e2;
$custom-light: #ad87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8255e2",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 259.149,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57241,
    "c": 0.20396,
    "h": 293.6
  },
  "luminance": 0.16734
}

Semantic roles & 50–950 ramp

primary
#8255E2
secondary
#D3E4AF
accent
#D31396
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8255E2

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

Preview Lab → · Contrast checker → · Palette generator →

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