#8245CA#8245CA

#8245CA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.197 H 300.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8245CA
RGBrgb(130, 69, 202)
HSLhsl(268, 56%, 53%)
HSVhsv(268, 66%, 79%)
CMYKcmyk(35.6%, 65.8%, 0%, 20.8%)
CIE-LABlab(43.16, 51.95, -59.44)
CIE-LCHlch(43.16, 78.94, 311.15°)
OKLaboklab(53.27% 0.1014 -0.1691)
OKLCHoklch(53.27% 0.197 300.9)
XYZxyz(21.9921, 13.2662, 57.2677)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8245CA #8DCA45
analogous
#454ACA #8245CA #C545CA
triadic
#8245CA #CA8245 #45CA82
tetradic
#8245CA #CA454A #8DCA45 #45CAC5
square
#8245CA #CA454A #8DCA45 #45CAC5
split-complementary
#8245CA #CAC545 #4ACA45
monochromatic
#472174 #642FA3 #8245CA #A275D8 #C2A4E5

Accessibility & contrast

On white

5.75
#8245CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8245CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8245CA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8245CA#FFFFFF#000000##FFFFFF
##8245CA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#736382
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8245ca;
/* rgb */ color: rgb(130, 69, 202);
/* oklch */ color: oklch(53.3% 0.197 300.9);
Tailwind
colors: {
  custom: {
    50: '#ab7ddb',
    500: '#8245ca',
    950: '#000000',
  },
}
SCSS
$custom: #8245ca;
$custom-light: #ab7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8245ca",
  "rgb": {
    "r": 130,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 267.519,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5327,
    "c": 0.19717,
    "h": 300.9
  },
  "luminance": 0.13266
}

Semantic roles & 50–950 ramp

primary
#8245CA
secondary
#B8D299
accent
#DF499A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8245CA

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

Preview Lab → · Contrast checker → · Palette generator →

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