#8255BE#8255BE

#8255BE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.160 H 301.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8255BE
RGBrgb(130, 85, 190)
HSLhsl(266, 45%, 54%)
HSVhsv(266, 55%, 75%)
CMYKcmyk(31.6%, 55.3%, 0%, 25.5%)
CIE-LABlab(45.58, 40.38, -48.59)
CIE-LCHlch(45.58, 63.18, 309.73°)
OKLaboklab(54.78% 0.0826 -0.1373)
OKLCHoklch(54.78% 0.16 301)
XYZxyz(21.7465, 14.9604, 50.4472)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255BE #91BE55
analogous
#555DBE #8255BE #B755BE
triadic
#8255BE #BE8255 #55BE82
tetradic
#8255BE #BE555D #91BE55 #55BEB7
square
#8255BE #BE555D #91BE55 #55BEB7
split-complementary
#8255BE #BEB755 #5DBE55
monochromatic
#472A6E #643B9B #8255BE #A381CF #C3AEE0

Accessibility & contrast

On white

5.26
#8255BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8255BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255BE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255BE#FFFFFF#000000##FFFFFF
##8255BE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#3A6BBC
Tritanopia (blue-blind)
#766A81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8255be;
/* rgb */ color: rgb(130, 85, 190);
/* oklch */ color: oklch(54.8% 0.160 301.0);
Tailwind
colors: {
  custom: {
    50: '#aa86d2',
    500: '#8255be',
    950: '#000000',
  },
}
SCSS
$custom: #8255be;
$custom-light: #aa86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8255be",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 265.714,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54782,
    "c": 0.16022,
    "h": 301
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#8255BE
secondary
#BBCEA1
accent
#D4539D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8255BE

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

Preview Lab → · Contrast checker → · Palette generator →

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