#8257BA#8257BA

#8257BA is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.152 H 301.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8257BA
RGBrgb(130, 87, 186)
HSLhsl(266, 42%, 54%)
HSVhsv(266, 53%, 73%)
CMYKcmyk(30.1%, 53.2%, 0%, 27.1%)
CIE-LABlab(45.78, 38.24, -45.94)
CIE-LCHlch(45.78, 59.77, 309.77°)
OKLaboklab(54.85% 0.0798 -0.1295)
OKLCHoklch(54.85% 0.152 301.6)
XYZxyz(21.4750, 15.1073, 48.2295)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257BA #8FBA57
analogous
#575DBA #8257BA #B357BA
triadic
#8257BA #BA8257 #57BA82
tetradic
#8257BA #BA575D #8FBA57 #57BAB3
square
#8257BA #BA575D #8FBA57 #57BAB3
split-complementary
#8257BA #BAB357 #5DBA57
monochromatic
#472C6B #643E96 #8257BA #A282CC #C3AEDE

Accessibility & contrast

On white

5.22
#8257BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8257BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8257BA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257BA#FFFFFF#000000##FFFFFF
##8257BA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#416CB8
Tritanopia (blue-blind)
#776A80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8257ba;
/* rgb */ color: rgb(130, 87, 186);
/* oklch */ color: oklch(54.9% 0.152 301.6);
Tailwind
colors: {
  custom: {
    50: '#a988cf',
    500: '#8257ba',
    950: '#000000',
  },
}
SCSS
$custom: #8257ba;
$custom-light: #a988cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8257ba",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 266.061,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.15214,
    "h": 301.6
  },
  "luminance": 0.15107
}

Semantic roles & 50–950 ramp

primary
#8257BA
secondary
#B9CCA1
accent
#D2569C
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8257BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8257BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva