#8258EB#8258EB

#8258EB is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.211 H 291.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8258EB
RGBrgb(130, 88, 235)
HSLhsl(257, 79%, 63%)
HSVhsv(257, 63%, 92%)
CMYKcmyk(44.7%, 62.6%, 0%, 7.8%)
CIE-LABlab(49.16, 50.60, -68.54)
CIE-LCHlch(49.16, 85.19, 306.44°)
OKLaboklab(58.34% 0.0778 -0.1959)
OKLCHoklch(58.34% 0.211 291.7)
XYZxyz(27.6869, 17.7225, 80.5432)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8258EB #C1EB58
analogous
#5877EB #8258EB #CC58EB
triadic
#8258EB #EB8258 #58EB82
tetradic
#8258EB #EB5877 #C1EB58 #58EBCC
square
#8258EB #EB5877 #C1EB58 #58EBCC
split-complementary
#8258EB #EBCC58 #77EB58
monochromatic
#4315B3 #5921E4 #8258EB #AB8FF2 #D4C5F8

Accessibility & contrast

On white

4.62
#8258EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8258EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8258EB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8258EB#FFFFFF#000000##FFFFFF
##8258EB1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#637A9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8258eb;
/* rgb */ color: rgb(130, 88, 235);
/* oklch */ color: oklch(58.3% 0.211 291.7);
Tailwind
colors: {
  custom: {
    50: '#ae89f2',
    500: '#8258eb',
    950: '#000000',
  },
}
SCSS
$custom: #8258eb;
$custom-light: #ae89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8258eb",
  "rgb": {
    "r": 130,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 257.143,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.2108,
    "h": 291.7
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#8258EB
secondary
#DBEAB5
accent
#DB0B9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8258EB

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

Preview Lab → · Contrast checker → · Palette generator →

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