#8258CB#8258CB

#8258CB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.1% C 0.172 H 297.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8258CB
RGBrgb(130, 88, 203)
HSLhsl(262, 53%, 57%)
HSVhsv(262, 57%, 80%)
CMYKcmyk(36%, 56.7%, 0%, 20.4%)
CIE-LABlab(47.02, 42.05, -53.79)
CIE-LCHlch(47.02, 68.27, 308.01°)
OKLaboklab(56.1% 0.0791 -0.1525)
OKLCHoklch(56.1% 0.172 297.4)
XYZxyz(23.4724, 16.0367, 58.3471)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8258CB #A1CB58
analogous
#5868CB #8258CB #BB58CB
triadic
#8258CB #CB8258 #58CB82
tetradic
#8258CB #CB5868 #A1CB58 #58CBBB
square
#8258CB #CB5868 #A1CB58 #58CBBB
split-complementary
#8258CB #CBBB58 #68CB58
monochromatic
#482881 #6337AF #8258CB #A587DA #C8B5E8

Accessibility & contrast

On white

4.99
#8258CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8258CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8258CB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8258CB#FFFFFF#000000##FFFFFF
##8258CB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2070CF
Deuteranopia (green-blind)
#306EC8
Tritanopia (blue-blind)
#717089
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8258cb;
/* rgb */ color: rgb(130, 88, 203);
/* oklch */ color: oklch(56.1% 0.172 297.4);
Tailwind
colors: {
  custom: {
    50: '#aa89db',
    500: '#8258cb',
    950: '#000000',
  },
}
SCSS
$custom: #8258cb;
$custom-light: #aa89db;
$custom-dark: #000000;
JSON
{
  "hex": "#8258cb",
  "rgb": {
    "r": 130,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 261.913,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.17183,
    "h": 297.4
  },
  "luminance": 0.16037
}

Semantic roles & 50–950 ramp

primary
#8258CB
secondary
#C6D7A8
accent
#DC4CA7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8258CB

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

Preview Lab → · Contrast checker → · Palette generator →

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