#8245CB#8245CB

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

Color values

HEX#8245CB
RGBrgb(130, 69, 203)
HSLhsl(267, 56%, 53%)
HSVhsv(267, 66%, 80%)
CMYKcmyk(36%, 66%, 0%, 20.4%)
CIE-LABlab(43.23, 52.20, -59.90)
CIE-LCHlch(43.23, 79.45, 311.07°)
OKLaboklab(53.34% 0.1013 -0.1705)
OKLCHoklch(53.34% 0.198 300.7)
XYZxyz(22.1109, 13.3137, 57.8932)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8245CB #8ECB45
analogous
#454BCB #8245CB #C545CB
triadic
#8245CB #CB8245 #45CB82
tetradic
#8245CB #CB454B #8ECB45 #45CBC5
square
#8245CB #CB454B #8ECB45 #45CBC5
split-complementary
#8245CB #CBC545 #4BCB45
monochromatic
#472175 #642EA5 #8245CB #A275D8 #C2A5E6

Accessibility & contrast

On white

5.73
#8245CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8245CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8245CB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8245CB#FFFFFF#000000##FFFFFF
##8245CB1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#726382
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8245cb;
/* rgb */ color: rgb(130, 69, 203);
/* oklch */ color: oklch(53.3% 0.198 300.7);
Tailwind
colors: {
  custom: {
    50: '#ac7ddc',
    500: '#8245cb',
    950: '#000000',
  },
}
SCSS
$custom: #8245cb;
$custom-light: #ac7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8245cb",
  "rgb": {
    "r": 130,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 267.313,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.19828,
    "h": 300.7
  },
  "luminance": 0.13314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8245CB

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

Preview Lab → · Contrast checker → · Palette generator →

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