#8245D2#8245D2

#8245D2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.206 H 299.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8245D2
RGBrgb(130, 69, 210)
HSLhsl(266, 61%, 55%)
HSVhsv(266, 67%, 82%)
CMYKcmyk(38.1%, 67.1%, 0%, 17.6%)
CIE-LABlab(43.73, 53.94, -63.12)
CIE-LCHlch(43.73, 83.03, 310.51°)
OKLaboklab(53.86% 0.1004 -0.1799)
OKLCHoklch(53.86% 0.206 299.2)
XYZxyz(22.9640, 13.6549, 62.3861)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8245D2 #95D245
analogous
#454FD2 #8245D2 #C845D2
triadic
#8245D2 #D28245 #45D282
tetradic
#8245D2 #D2454F #95D245 #45D2C8
square
#8245D2 #D2454F #95D245 #45D2C8
split-complementary
#8245D2 #D2C845 #4FD245
monochromatic
#481F7E #642AAF #8245D2 #A376DE #C4A8EA

Accessibility & contrast

On white

5.63
#8245D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8245D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8245D2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8245D2#FFFFFF#000000##FFFFFF
##8245D21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#6F6686
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8245d2;
/* rgb */ color: rgb(130, 69, 210);
/* oklch */ color: oklch(53.9% 0.206 299.2);
Tailwind
colors: {
  custom: {
    50: '#ac7de1',
    500: '#8245d2',
    950: '#000000',
  },
}
SCSS
$custom: #8245d2;
$custom-light: #ac7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8245d2",
  "rgb": {
    "r": 130,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 265.957,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.20606,
    "h": 299.2
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#8245D2
secondary
#BDD79C
accent
#E4449F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8245D2

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

Preview Lab → · Contrast checker → · Palette generator →

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