#8258CD#8258CD

#8258CD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.174 H 297.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8258CD
RGBrgb(130, 88, 205)
HSLhsl(262, 54%, 57%)
HSVhsv(262, 57%, 80%)
CMYKcmyk(36.6%, 57.1%, 0%, 19.6%)
CIE-LABlab(47.15, 42.57, -54.74)
CIE-LCHlch(47.15, 69.34, 307.87°)
OKLaboklab(56.23% 0.0791 -0.1553)
OKLCHoklch(56.23% 0.174 297)
XYZxyz(23.7123, 16.1327, 59.6104)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8258CD #A3CD58
analogous
#5869CD #8258CD #BC58CD
triadic
#8258CD #CD8258 #58CD82
tetradic
#8258CD #CD5869 #A3CD58 #58CDBC
square
#8258CD #CD5869 #A3CD58 #58CDBC
split-complementary
#8258CD #CDBC58 #69CD58
monochromatic
#482783 #6235B2 #8258CD #A587DB #C9B6E9

Accessibility & contrast

On white

4.97
#8258CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8258CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8258CD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8258CD#FFFFFF#000000##FFFFFF
##8258CD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D1
Deuteranopia (green-blind)
#2E6ECA
Tritanopia (blue-blind)
#71708A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8258cd;
/* rgb */ color: rgb(130, 88, 205);
/* oklch */ color: oklch(56.2% 0.174 297.0);
Tailwind
colors: {
  custom: {
    50: '#ab89dd',
    500: '#8258cd',
    950: '#000000',
  },
}
SCSS
$custom: #8258cd;
$custom-light: #ab89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8258cd",
  "rgb": {
    "r": 130,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 261.538,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56232,
    "c": 0.17432,
    "h": 297
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#8258CD
secondary
#C7D8A9
accent
#DD4BA9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8258CD

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

Preview Lab → · Contrast checker → · Palette generator →

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