#8255D5#8255D5

#8255D5 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.3% C 0.188 H 296.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8255D5
RGBrgb(130, 85, 213)
HSLhsl(261, 60%, 58%)
HSVhsv(261, 60%, 84%)
CMYKcmyk(39%, 60.1%, 0%, 16.5%)
CIE-LABlab(47.04, 46.34, -59.50)
CIE-LCHlch(47.04, 75.42, 307.91°)
OKLaboklab(56.32% 0.0825 -0.1693)
OKLCHoklch(56.32% 0.188 296)
XYZxyz(24.4615, 16.0465, 64.7464)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255D5 #A8D555
analogous
#5568D5 #8255D5 #C255D5
triadic
#8255D5 #D58255 #55D582
tetradic
#8255D5 #D55568 #A8D555 #55D5C2
square
#8255D5 #D55568 #A8D555 #55D5C2
split-complementary
#8255D5 #D5C255 #68D555
monochromatic
#48238D #612FBE #8255D5 #A686E1 #CAB7ED

Accessibility & contrast

On white

4.99
#8255D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8255D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255D5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255D5#FFFFFF#000000##FFFFFF
##8255D51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#176ED2
Tritanopia (blue-blind)
#6D718D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8255d5;
/* rgb */ color: rgb(130, 85, 213);
/* oklch */ color: oklch(56.3% 0.188 296.0);
Tailwind
colors: {
  custom: {
    50: '#ab87e3',
    500: '#8255d5',
    950: '#000000',
  },
}
SCSS
$custom: #8255d5;
$custom-light: #ab87e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8255d5",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 213
  },
  "hsl": {
    "h": 261.094,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.18837,
    "h": 296
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#8255D5
secondary
#CADCA9
accent
#E444AC
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8255D5

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

Preview Lab → · Contrast checker → · Palette generator →

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