#8255BF#8255BF

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

Color values

HEX#8255BF
RGBrgb(130, 85, 191)
HSLhsl(265, 45%, 54%)
HSVhsv(265, 55%, 75%)
CMYKcmyk(31.9%, 55.5%, 0%, 25.1%)
CIE-LABlab(45.64, 40.63, -49.07)
CIE-LCHlch(45.64, 63.71, 309.63°)
OKLaboklab(54.85% 0.0827 -0.1387)
OKLCHoklch(54.85% 0.161 300.8)
XYZxyz(21.8562, 15.0043, 51.0248)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255BF #92BF55
analogous
#555DBF #8255BF #B755BF
triadic
#8255BF #BF8255 #55BF82
tetradic
#8255BF #BF555D #92BF55 #55BFB7
square
#8255BF #BF555D #92BF55 #55BFB7
split-complementary
#8255BF #BFB755 #5DBF55
monochromatic
#482A70 #643B9C #8255BF #A381D0 #C3AEE0

Accessibility & contrast

On white

5.25
#8255BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8255BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255BF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255BF#FFFFFF#000000##FFFFFF
##8255BF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#396BBD
Tritanopia (blue-blind)
#766A82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8255bf;
/* rgb */ color: rgb(130, 85, 191);
/* oklch */ color: oklch(54.8% 0.161 300.8);
Tailwind
colors: {
  custom: {
    50: '#aa86d3',
    500: '#8255bf',
    950: '#000000',
  },
}
SCSS
$custom: #8255bf;
$custom-light: #aa86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8255bf",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 265.472,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.16145,
    "h": 300.8
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8255BF

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

Preview Lab → · Contrast checker → · Palette generator →

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