#8245E2#8245E2

#8245E2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.224 H 296.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8245E2
RGBrgb(130, 69, 226)
HSLhsl(263, 73%, 58%)
HSVhsv(263, 69%, 89%)
CMYKcmyk(42.5%, 69.5%, 0%, 11.4%)
CIE-LABlab(44.93, 57.97, -70.32)
CIE-LCHlch(44.93, 91.14, 309.50°)
OKLaboklab(55.09% 0.0979 -0.2011)
OKLCHoklch(55.09% 0.224 296)
XYZxyz(25.0579, 14.4925, 73.4139)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8245E2 #A5E245
analogous
#4556E2 #8245E2 #D045E2
triadic
#8245E2 #E28245 #45E282
tetradic
#8245E2 #E24556 #A5E245 #45E2D0
square
#8245E2 #E24556 #A5E245 #45E2D0
split-complementary
#8245E2 #E2D045 #56E245
monochromatic
#481795 #6220CA #8245E2 #A67AEA #C9AFF3

Accessibility & contrast

On white

5.39
#8245E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8245E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8245E2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8245E2#FFFFFF#000000##FFFFFF
##8245E21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#686C8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8245e2;
/* rgb */ color: rgb(130, 69, 226);
/* oklch */ color: oklch(55.1% 0.224 296.0);
Tailwind
colors: {
  custom: {
    50: '#ae7dec',
    500: '#8245e2',
    950: '#000000',
  },
}
SCSS
$custom: #8245e2;
$custom-light: #ae7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#8245e2",
  "rgb": {
    "r": 130,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 263.312,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55091,
    "c": 0.22368,
    "h": 296
  },
  "luminance": 0.14493
}

Semantic roles & 50–950 ramp

primary
#8245E2
secondary
#C8E1A2
accent
#F038A8
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8245E2

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

Preview Lab → · Contrast checker → · Palette generator →

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