#8255E7#8255E7

#8255E7 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.6% C 0.210 H 292.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8255E7
RGBrgb(130, 85, 231)
HSLhsl(258, 75%, 62%)
HSVhsv(258, 63%, 91%)
CMYKcmyk(43.7%, 63.2%, 0%, 9.4%)
CIE-LABlab(48.27, 51.13, -67.72)
CIE-LCHlch(48.27, 84.85, 307.05°)
OKLaboklab(57.61% 0.0813 -0.1935)
OKLCHoklch(57.61% 0.21 292.8)
XYZxyz(26.8743, 17.0115, 77.4534)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255E7 #BAE755
analogous
#5571E7 #8255E7 #CB55E7
triadic
#8255E7 #E78255 #55E782
tetradic
#8255E7 #E75571 #BAE755 #55E7CB
square
#8255E7 #E75571 #BAE755 #55E7CB
split-complementary
#8255E7 #E7CB55 #71E755
monochromatic
#4518AA #5B20DF #8255E7 #A98BEF #D1C0F6

Accessibility & contrast

On white

4.77
#8255E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8255E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255E7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255E7#FFFFFF#000000##FFFFFF
##8255E71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#657796
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8255e7;
/* rgb */ color: rgb(130, 85, 231);
/* oklch */ color: oklch(57.6% 0.210 292.8);
Tailwind
colors: {
  custom: {
    50: '#ad87f0',
    500: '#8255e7',
    950: '#000000',
  },
}
SCSS
$custom: #8255e7;
$custom-light: #ad87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8255e7",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 258.493,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.20988,
    "h": 292.8
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#8255E7
secondary
#D6E7B1
accent
#D70E99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8255E7

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

Preview Lab → · Contrast checker → · Palette generator →

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