#8258CA#8258CA

#8258CA is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.0% C 0.171 H 297.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8258CA
RGBrgb(130, 88, 202)
HSLhsl(262, 52%, 57%)
HSVhsv(262, 56%, 79%)
CMYKcmyk(35.6%, 56.4%, 0%, 20.8%)
CIE-LABlab(46.96, 41.79, -53.31)
CIE-LCHlch(46.96, 67.74, 308.09°)
OKLaboklab(56.03% 0.0791 -0.1511)
OKLCHoklch(56.03% 0.171 297.6)
XYZxyz(23.3536, 15.9892, 57.7215)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8258CA #A0CA58
analogous
#5867CA #8258CA #BB58CA
triadic
#8258CA #CA8258 #58CA82
tetradic
#8258CA #CA5867 #A0CA58 #58CABB
square
#8258CA #CA5867 #A0CA58 #58CABB
split-complementary
#8258CA #CABB58 #67CA58
monochromatic
#48287F #6337AE #8258CA #A586D9 #C8B5E7

Accessibility & contrast

On white

5.00
#8258CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8258CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8258CA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8258CA#FFFFFF#000000##FFFFFF
##8258CA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#326EC7
Tritanopia (blue-blind)
#727088
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8258ca;
/* rgb */ color: rgb(130, 88, 202);
/* oklch */ color: oklch(56.0% 0.171 297.6);
Tailwind
colors: {
  custom: {
    50: '#aa89db',
    500: '#8258ca',
    950: '#000000',
  },
}
SCSS
$custom: #8258ca;
$custom-light: #aa89db;
$custom-dark: #000000;
JSON
{
  "hex": "#8258ca",
  "rgb": {
    "r": 130,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 262.105,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56034,
    "c": 0.17059,
    "h": 297.6
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#8258CA
secondary
#C5D6A8
accent
#DB4DA7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8258CA

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

Preview Lab → · Contrast checker → · Palette generator →

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