#8257DB#8257DB

#8257DB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.193 H 294.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8257DB
RGBrgb(130, 87, 219)
HSLhsl(260, 65%, 60%)
HSVhsv(260, 60%, 86%)
CMYKcmyk(40.6%, 60.3%, 0%, 14.1%)
CIE-LABlab(47.85, 46.83, -61.61)
CIE-LCHlch(47.85, 77.39, 307.24°)
OKLaboklab(57.04% 0.08 -0.1755)
OKLCHoklch(57.04% 0.193 294.5)
XYZxyz(25.3969, 16.6761, 68.8848)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257DB #B0DB57
analogous
#576EDB #8257DB #C457DB
triadic
#8257DB #DB8257 #57DB82
tetradic
#8257DB #DB576E #B0DB57 #57DBC4
square
#8257DB #DB576E #B0DB57 #57DBC4
split-complementary
#8257DB #DBC457 #6EDB57
monochromatic
#472097 #5F2BCA #8257DB #A789E6 #CDBCF1

Accessibility & contrast

On white

4.84
#8257DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8257DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8257DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257DB#FFFFFF#000000##FFFFFF
##8257DB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#086FD8
Tritanopia (blue-blind)
#6B7491
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8257db;
/* rgb */ color: rgb(130, 87, 219);
/* oklch */ color: oklch(57.0% 0.193 294.5);
Tailwind
colors: {
  custom: {
    50: '#ac88e7',
    500: '#8257db',
    950: '#000000',
  },
}
SCSS
$custom: #8257db;
$custom-light: #ac88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8257db",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 259.545,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.57036,
    "c": 0.19288,
    "h": 294.5
  },
  "luminance": 0.16677
}

Semantic roles & 50–950 ramp

primary
#8257DB
secondary
#D0E0AD
accent
#E840B1
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8257DB

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

Preview Lab → · Contrast checker → · Palette generator →

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