#8258CF#8258CF

#8258CF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.177 H 296.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8258CF
RGBrgb(130, 88, 207)
HSLhsl(261, 55%, 58%)
HSVhsv(261, 57%, 81%)
CMYKcmyk(37.2%, 57.5%, 0%, 18.8%)
CIE-LABlab(47.27, 43.10, -55.68)
CIE-LCHlch(47.27, 70.41, 307.74°)
OKLaboklab(56.36% 0.0791 -0.1581)
OKLCHoklch(56.36% 0.177 296.6)
XYZxyz(23.9553, 16.2299, 60.8900)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8258CF #A5CF58
analogous
#586ACF #8258CF #BD58CF
triadic
#8258CF #CF8258 #58CF82
tetradic
#8258CF #CF586A #A5CF58 #58CFBD
square
#8258CF #CF586A #A5CF58 #58CFBD
split-complementary
#8258CF #CFBD58 #6ACF58
monochromatic
#482786 #6234B6 #8258CF #A688DD #C9B7EA

Accessibility & contrast

On white

4.95
#8258CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8258CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8258CF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8258CF#FFFFFF#000000##FFFFFF
##8258CF1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1871D3
Deuteranopia (green-blind)
#2B6FCC
Tritanopia (blue-blind)
#70718B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8258cf;
/* rgb */ color: rgb(130, 88, 207);
/* oklch */ color: oklch(56.4% 0.177 296.6);
Tailwind
colors: {
  custom: {
    50: '#ab89de',
    500: '#8258cf',
    950: '#000000',
  },
}
SCSS
$custom: #8258cf;
$custom-light: #ab89de;
$custom-dark: #000000;
JSON
{
  "hex": "#8258cf",
  "rgb": {
    "r": 130,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 261.176,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56365,
    "c": 0.17679,
    "h": 296.6
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#8258CF
secondary
#C8D9AA
accent
#DF49AA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8258CF

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

Preview Lab → · Contrast checker → · Palette generator →

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