#8245C8#8245C8

#8245C8 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.195 H 301.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8245C8
RGBrgb(130, 69, 200)
HSLhsl(268, 54%, 53%)
HSVhsv(268, 66%, 78%)
CMYKcmyk(35%, 65.5%, 0%, 21.6%)
CIE-LABlab(43.02, 51.46, -58.51)
CIE-LCHlch(43.02, 77.92, 311.33°)
OKLaboklab(53.12% 0.1016 -0.1664)
OKLCHoklch(53.12% 0.195 301.4)
XYZxyz(21.7569, 13.1721, 56.0286)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8245C8 #8BC845
analogous
#4549C8 #8245C8 #C445C8
triadic
#8245C8 #C88245 #45C882
tetradic
#8245C8 #C84549 #8BC845 #45C8C4
square
#8245C8 #C84549 #8BC845 #45C8C4
split-complementary
#8245C8 #C8C445 #49C845
monochromatic
#472171 #642FA0 #8245C8 #A274D6 #C1A3E4

Accessibility & contrast

On white

5.78
#8245C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8245C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8245C8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8245C8#FFFFFF#000000##FFFFFF
##8245C81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0565C5
Tritanopia (blue-blind)
#736281
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8245c8;
/* rgb */ color: rgb(130, 69, 200);
/* oklch */ color: oklch(53.1% 0.195 301.4);
Tailwind
colors: {
  custom: {
    50: '#ab7cd9',
    500: '#8245c8',
    950: '#000000',
  },
}
SCSS
$custom: #8245c8;
$custom-light: #ab7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8245c8",
  "rgb": {
    "r": 130,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 267.939,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53124,
    "c": 0.19493,
    "h": 301.4
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#8245C8
secondary
#B6D198
accent
#DE4A99
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8245C8

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

Preview Lab → · Contrast checker → · Palette generator →

#8245C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva