#8255ED#8255ED

#8255ED is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.217 H 291.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8255ED
RGBrgb(130, 85, 237)
HSLhsl(258, 81%, 63%)
HSVhsv(258, 64%, 93%)
CMYKcmyk(45.1%, 64.1%, 0%, 7.1%)
CIE-LABlab(48.71, 52.74, -70.40)
CIE-LCHlch(48.71, 87.96, 306.84°)
OKLaboklab(58.06% 0.0807 -0.2014)
OKLCHoklch(58.06% 0.217 291.8)
XYZxyz(27.7362, 17.3563, 81.9931)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255ED #C0ED55
analogous
#5574ED #8255ED #CE55ED
triadic
#8255ED #ED8255 #55ED82
tetradic
#8255ED #ED5574 #C0ED55 #55EDCE
square
#8255ED #ED5574 #C0ED55 #55EDCE
split-complementary
#8255ED #EDCE55 #74ED55
monochromatic
#4313B4 #591EE7 #8255ED #AB8CF3 #D3C4F9

Accessibility & contrast

On white

4.70
#8255ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8255ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255ED
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255ED#FFFFFF#000000##FFFFFF
##8255ED1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#62799A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8255ed;
/* rgb */ color: rgb(130, 85, 237);
/* oklch */ color: oklch(58.1% 0.217 291.8);
Tailwind
colors: {
  custom: {
    50: '#ae87f4',
    500: '#8255ed',
    950: '#000000',
  },
}
SCSS
$custom: #8255ed;
$custom-light: #ae87f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8255ed",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 237
  },
  "hsl": {
    "h": 257.763,
    "s": 80.851,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.21694,
    "h": 291.8
  },
  "luminance": 0.17357
}

Semantic roles & 50–950 ramp

primary
#8255ED
secondary
#DAEAB4
accent
#DD089E
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8255ED

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

Preview Lab → · Contrast checker → · Palette generator →

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