#8258F2#8258F2

#8258F2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.219 H 290.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8258F2
RGBrgb(130, 88, 242)
HSLhsl(256, 86%, 65%)
HSVhsv(256, 64%, 95%)
CMYKcmyk(46.3%, 63.6%, 0%, 5.1%)
CIE-LABlab(49.66, 52.50, -71.65)
CIE-LCHlch(49.66, 88.82, 306.23°)
OKLaboklab(58.86% 0.0772 -0.205)
OKLCHoklch(58.86% 0.219 290.6)
XYZxyz(28.7181, 18.1350, 85.9744)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8258F2 #C8F258
analogous
#587BF2 #8258F2 #CF58F2
triadic
#8258F2 #F28258 #58F282
tetradic
#8258F2 #F2587B #C8F258 #58F2CF
square
#8258F2 #F2587B #C8F258 #58F2CF
split-complementary
#8258F2 #F2CF58 #7BF258
monochromatic
#3F0FC1 #581FEE #8258F2 #AD91F6 #D7CAFB

Accessibility & contrast

On white

4.54
#8258F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8258F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8258F2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8258F2#FFFFFF#000000##000000
##8258F21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#5F7D9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8258f2;
/* rgb */ color: rgb(130, 88, 242);
/* oklch */ color: oklch(58.9% 0.219 290.6);
Tailwind
colors: {
  custom: {
    50: '#ae89f7',
    500: '#8258f2',
    950: '#000000',
  },
}
SCSS
$custom: #8258f2;
$custom-light: #ae89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8258f2",
  "rgb": {
    "r": 130,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 256.364,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.2191,
    "h": 290.6
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#8258F2
secondary
#DFEDB8
accent
#E203A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8258F2

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

Preview Lab → · Contrast checker → · Palette generator →

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