#8255D3#8255D3

#8255D3 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.186 H 296.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8255D3
RGBrgb(130, 85, 211)
HSLhsl(261, 59%, 58%)
HSVhsv(261, 60%, 83%)
CMYKcmyk(38.4%, 59.7%, 0%, 17.3%)
CIE-LABlab(46.90, 45.81, -58.57)
CIE-LCHlch(46.90, 74.36, 308.03°)
OKLaboklab(56.18% 0.0826 -0.1666)
OKLCHoklch(56.18% 0.186 296.4)
XYZxyz(24.2093, 15.9455, 63.4177)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255D3 #A6D355
analogous
#5567D3 #8255D3 #C155D3
triadic
#8255D3 #D38255 #55D382
tetradic
#8255D3 #D35567 #A6D355 #55D3C1
square
#8255D3 #D35567 #A6D355 #55D3C1
split-complementary
#8255D3 #D3C155 #67D355
monochromatic
#48248A #6230BB #8255D3 #A686E0 #C9B6EC

Accessibility & contrast

On white

5.01
#8255D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8255D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255D3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255D3#FFFFFF#000000##FFFFFF
##8255D31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#1C6ED0
Tritanopia (blue-blind)
#6E708C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8255d3;
/* rgb */ color: rgb(130, 85, 211);
/* oklch */ color: oklch(56.2% 0.186 296.4);
Tailwind
colors: {
  custom: {
    50: '#ab87e1',
    500: '#8255d3',
    950: '#000000',
  },
}
SCSS
$custom: #8255d3;
$custom-light: #ab87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8255d3",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 211
  },
  "hsl": {
    "h": 261.429,
    "s": 58.879,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56176,
    "c": 0.18595,
    "h": 296.4
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

primary
#8255D3
secondary
#C9DBA9
accent
#E246AA
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8255D3

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

Preview Lab → · Contrast checker → · Palette generator →

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