#8255DD#8255DD

#8255DD is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.198 H 294.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8255DD
RGBrgb(130, 85, 221)
HSLhsl(260, 67%, 60%)
HSVhsv(260, 62%, 87%)
CMYKcmyk(41.2%, 61.5%, 0%, 13.3%)
CIE-LABlab(47.58, 48.46, -63.19)
CIE-LCHlch(47.58, 79.63, 307.48°)
OKLaboklab(56.88% 0.0821 -0.1802)
OKLCHoklch(56.88% 0.198 294.5)
XYZxyz(25.5021, 16.4627, 70.2266)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255DD #B0DD55
analogous
#556CDD #8255DD #C655DD
triadic
#8255DD #DD8255 #55DD82
tetradic
#8255DD #DD556C #B0DD55 #55DDC6
square
#8255DD #DD556C #B0DD55 #55DDC6
split-complementary
#8255DD #DDC655 #6CDD55
monochromatic
#471F99 #5F29CC #8255DD #A888E7 #CDBBF1

Accessibility & contrast

On white

4.89
#8255DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8255DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255DD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255DD#FFFFFF#000000##FFFFFF
##8255DD1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#6A7491
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8255dd;
/* rgb */ color: rgb(130, 85, 221);
/* oklch */ color: oklch(56.9% 0.198 294.5);
Tailwind
colors: {
  custom: {
    50: '#ac87e8',
    500: '#8255dd',
    950: '#000000',
  },
}
SCSS
$custom: #8255dd;
$custom-light: #ac87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8255dd",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 259.853,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.19798,
    "h": 294.5
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#8255DD
secondary
#D0E1AD
accent
#EA3EB1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8255DD

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

Preview Lab → · Contrast checker → · Palette generator →

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