#8258C7#8258C7

#8258C7 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.167 H 298.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8258C7
RGBrgb(130, 88, 199)
HSLhsl(263, 50%, 56%)
HSVhsv(263, 56%, 78%)
CMYKcmyk(34.7%, 55.8%, 0%, 22%)
CIE-LABlab(46.78, 41.00, -51.88)
CIE-LCHlch(46.78, 66.13, 308.32°)
OKLaboklab(55.84% 0.0791 -0.1469)
OKLCHoklch(55.84% 0.167 298.3)
XYZxyz(23.0019, 15.8485, 55.8690)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8258C7 #9DC758
analogous
#5866C7 #8258C7 #BA58C7
triadic
#8258C7 #C78258 #58C782
tetradic
#8258C7 #C75866 #9DC758 #58C7BA
square
#8258C7 #C75866 #9DC758 #58C7BA
split-complementary
#8258C7 #C7BA58 #66C758
monochromatic
#48297B #6339A9 #8258C7 #A486D6 #C7B4E6

Accessibility & contrast

On white

5.04
#8258C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8258C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8258C7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8258C7#FFFFFF#000000##FFFFFF
##8258C71.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266FCB
Deuteranopia (green-blind)
#356EC4
Tritanopia (blue-blind)
#736F87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8258c7;
/* rgb */ color: rgb(130, 88, 199);
/* oklch */ color: oklch(55.8% 0.167 298.3);
Tailwind
colors: {
  custom: {
    50: '#aa88d9',
    500: '#8258c7',
    950: '#000000',
  },
}
SCSS
$custom: #8258c7;
$custom-light: #aa88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8258c7",
  "rgb": {
    "r": 130,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 262.703,
    "s": 49.776,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.16685,
    "h": 298.3
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#8258C7
secondary
#C3D4A7
accent
#D94FA5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8258C7

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

Preview Lab → · Contrast checker → · Palette generator →

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