#8245CC#8245CC

#8245CC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.199 H 300.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8245CC
RGBrgb(130, 69, 204)
HSLhsl(267, 57%, 54%)
HSVhsv(267, 66%, 80%)
CMYKcmyk(36.3%, 66.2%, 0%, 20%)
CIE-LABlab(43.30, 52.45, -60.37)
CIE-LCHlch(43.30, 79.97, 310.99°)
OKLaboklab(53.42% 0.1012 -0.1718)
OKLCHoklch(53.42% 0.199 300.5)
XYZxyz(22.2305, 13.3615, 58.5229)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8245CC #8FCC45
analogous
#454BCC #8245CC #C545CC
triadic
#8245CC #CC8245 #45CC82
tetradic
#8245CC #CC454B #8FCC45 #45CCC5
square
#8245CC #CC454B #8FCC45 #45CCC5
split-complementary
#8245CC #CCC545 #4BCC45
monochromatic
#472076 #642EA6 #8245CC #A275D9 #C3A5E6

Accessibility & contrast

On white

5.72
#8245CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8245CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8245CC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8245CC#FFFFFF#000000##FFFFFF
##8245CC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#726483
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8245cc;
/* rgb */ color: rgb(130, 69, 204);
/* oklch */ color: oklch(53.4% 0.199 300.5);
Tailwind
colors: {
  custom: {
    50: '#ac7ddc',
    500: '#8245cc',
    950: '#000000',
  },
}
SCSS
$custom: #8245cc;
$custom-light: #ac7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8245cc",
  "rgb": {
    "r": 130,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 267.111,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53416,
    "c": 0.1994,
    "h": 300.5
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#8245CC
secondary
#B9D399
accent
#E0489B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8245CC

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

Preview Lab → · Contrast checker → · Palette generator →

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