#8258DB#8258DB

#8258DB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.192 H 294.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8258DB
RGBrgb(130, 88, 219)
HSLhsl(259, 65%, 60%)
HSVhsv(259, 60%, 86%)
CMYKcmyk(40.6%, 59.8%, 0%, 14.1%)
CIE-LABlab(48.06, 46.28, -61.27)
CIE-LCHlch(48.06, 76.79, 307.07°)
OKLaboklab(57.19% 0.0789 -0.1745)
OKLCHoklch(57.19% 0.192 294.3)
XYZxyz(25.4784, 16.8391, 68.9120)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8258DB #B1DB58
analogous
#586FDB #8258DB #C458DB
triadic
#8258DB #DB8258 #58DB82
tetradic
#8258DB #DB586F #B1DB58 #58DBC4
square
#8258DB #DB586F #B1DB58 #58DBC4
split-complementary
#8258DB #DBC458 #6FDB58
monochromatic
#472198 #5E2CCA #8258DB #A88AE6 #CDBDF1

Accessibility & contrast

On white

4.81
#8258DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8258DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8258DB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8258DB#FFFFFF#000000##FFFFFF
##8258DB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#0E70D8
Tritanopia (blue-blind)
#6B7591
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8258db;
/* rgb */ color: rgb(130, 88, 219);
/* oklch */ color: oklch(57.2% 0.192 294.3);
Tailwind
colors: {
  custom: {
    50: '#ac89e7',
    500: '#8258db',
    950: '#000000',
  },
}
SCSS
$custom: #8258db;
$custom-light: #ac89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8258db",
  "rgb": {
    "r": 130,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 259.237,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.19152,
    "h": 294.3
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#8258DB
secondary
#D0E1AE
accent
#CC1993
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8258DB

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

Preview Lab → · Contrast checker → · Palette generator →

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