#8255D6#8255D6

#8255D6 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.190 H 295.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8255D6
RGBrgb(130, 85, 214)
HSLhsl(261, 61%, 59%)
HSVhsv(261, 60%, 84%)
CMYKcmyk(39.3%, 60.3%, 0%, 16.1%)
CIE-LABlab(47.10, 46.60, -59.96)
CIE-LCHlch(47.10, 75.94, 307.85°)
OKLaboklab(56.38% 0.0825 -0.1707)
OKLCHoklch(56.38% 0.19 295.8)
XYZxyz(24.5889, 16.0974, 65.4169)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255D6 #A9D655
analogous
#5568D6 #8255D6 #C255D6
triadic
#8255D6 #D68255 #55D682
tetradic
#8255D6 #D65568 #A9D655 #55D6C2
square
#8255D6 #D65568 #A9D655 #55D6C2
split-complementary
#8255D6 #D6C255 #68D655
monochromatic
#48228E #612EC0 #8255D6 #A686E2 #CBB8EE

Accessibility & contrast

On white

4.98
#8255D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8255D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255D6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255D6#FFFFFF#000000##FFFFFF
##8255D61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#146ED3
Tritanopia (blue-blind)
#6D718D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8255d6;
/* rgb */ color: rgb(130, 85, 214);
/* oklch */ color: oklch(56.4% 0.190 295.8);
Tailwind
colors: {
  custom: {
    50: '#ac87e3',
    500: '#8255d6',
    950: '#000000',
  },
}
SCSS
$custom: #8255d6;
$custom-light: #ac87e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8255d6",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 214
  },
  "hsl": {
    "h": 260.93,
    "s": 61.137,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.18957,
    "h": 295.8
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#8255D6
secondary
#CBDDAA
accent
#E444AC
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8255D6

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

Preview Lab → · Contrast checker → · Palette generator →

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