#8255DB#8255DB

#8255DB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.196 H 294.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8255DB
RGBrgb(130, 85, 219)
HSLhsl(260, 65%, 60%)
HSVhsv(260, 61%, 86%)
CMYKcmyk(40.6%, 61.2%, 0%, 14.1%)
CIE-LABlab(47.44, 47.93, -62.27)
CIE-LCHlch(47.44, 78.58, 307.58°)
OKLaboklab(56.74% 0.0822 -0.1775)
OKLCHoklch(56.74% 0.196 294.9)
XYZxyz(25.2372, 16.3567, 68.8316)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255DB #AEDB55
analogous
#556BDB #8255DB #C555DB
triadic
#8255DB #DB8255 #55DB82
tetradic
#8255DB #DB556B #AEDB55 #55DBC5
square
#8255DB #DB556B #AEDB55 #55DBC5
split-complementary
#8255DB #DBC555 #6BDB55
monochromatic
#472096 #5F2AC8 #8255DB #A788E6 #CCBAF0

Accessibility & contrast

On white

4.92
#8255DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8255DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255DB#FFFFFF#000000##FFFFFF
##8255DB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#6B7390
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8255db;
/* rgb */ color: rgb(130, 85, 219);
/* oklch */ color: oklch(56.7% 0.196 294.9);
Tailwind
colors: {
  custom: {
    50: '#ac87e7',
    500: '#8255db',
    950: '#000000',
  },
}
SCSS
$custom: #8255db;
$custom-light: #ac87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8255db",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 260.149,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56737,
    "c": 0.19559,
    "h": 294.9
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#8255DB
secondary
#CEE0AC
accent
#E840B0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8255DB

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

Preview Lab → · Contrast checker → · Palette generator →

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