#8248E6#8248E6

#8248E6 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.225 H 294.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8248E6
RGBrgb(130, 72, 230)
HSLhsl(262, 76%, 59%)
HSVhsv(262, 69%, 90%)
CMYKcmyk(43.5%, 68.7%, 0%, 9.8%)
CIE-LABlab(45.76, 57.54, -71.24)
CIE-LCHlch(45.76, 91.57, 308.93°)
OKLaboklab(55.78% 0.0944 -0.2038)
OKLCHoklch(55.78% 0.225 294.9)
XYZxyz(25.8024, 15.0931, 76.4014)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248E6 #ACE648
analogous
#485DE6 #8248E6 #D148E6
triadic
#8248E6 #E68248 #48E682
tetradic
#8248E6 #E6485D #ACE648 #48E6D1
square
#8248E6 #E6485D #ACE648 #48E6D1
split-complementary
#8248E6 #E6D148 #5DE648
monochromatic
#48169E #601DD4 #8248E6 #A77EED #CCB4F5

Accessibility & contrast

On white

5.23
#8248E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8248E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248E6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248E6#FFFFFF#000000##FFFFFF
##8248E61.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#666F92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8248e6;
/* rgb */ color: rgb(130, 72, 230);
/* oklch */ color: oklch(55.8% 0.225 294.9);
Tailwind
colors: {
  custom: {
    50: '#ae7fef',
    500: '#8248e6',
    950: '#000000',
  },
}
SCSS
$custom: #8248e6;
$custom-light: #ae7fef;
$custom-dark: #000000;
JSON
{
  "hex": "#8248e6",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 262.025,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.22461,
    "h": 294.9
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#8248E6
secondary
#CDE4A6
accent
#F335AD
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #8248E6

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

Preview Lab → · Contrast checker → · Palette generator →

#8248E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva