#8255D7#8255D7

#8255D7 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.191 H 295.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8255D7
RGBrgb(130, 85, 215)
HSLhsl(261, 62%, 59%)
HSVhsv(261, 60%, 84%)
CMYKcmyk(39.5%, 60.5%, 0%, 15.7%)
CIE-LABlab(47.17, 46.87, -60.43)
CIE-LCHlch(47.17, 76.47, 307.80°)
OKLaboklab(56.46% 0.0824 -0.172)
OKLCHoklch(56.46% 0.191 295.6)
XYZxyz(24.7170, 16.1486, 66.0915)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255D7 #AAD755
analogous
#5569D7 #8255D7 #C355D7
triadic
#8255D7 #D78255 #55D782
tetradic
#8255D7 #D75569 #AAD755 #55D7C3
square
#8255D7 #D75569 #AAD755 #55D7C3
split-complementary
#8255D7 #D7C355 #69D755
monochromatic
#482290 #612DC1 #8255D7 #A687E3 #CBB8EE

Accessibility & contrast

On white

4.96
#8255D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8255D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255D7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255D7#FFFFFF#000000##FFFFFF
##8255D71.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#106ED4
Tritanopia (blue-blind)
#6D728E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8255d7;
/* rgb */ color: rgb(130, 85, 215);
/* oklch */ color: oklch(56.5% 0.191 295.6);
Tailwind
colors: {
  custom: {
    50: '#ac87e4',
    500: '#8255d7',
    950: '#000000',
  },
}
SCSS
$custom: #8255d7;
$custom-light: #ac87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8255d7",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 215
  },
  "hsl": {
    "h": 260.769,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56455,
    "c": 0.19078,
    "h": 295.6
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#8255D7
secondary
#CCDEAA
accent
#E543AD
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8255D7

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

Preview Lab → · Contrast checker → · Palette generator →

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