#8248CE#8248CE

#8248CE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.0% C 0.198 H 299.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8248CE
RGBrgb(130, 72, 206)
HSLhsl(266, 58%, 55%)
HSVhsv(266, 65%, 81%)
CMYKcmyk(36.9%, 65%, 0%, 19.2%)
CIE-LABlab(44.00, 51.43, -60.39)
CIE-LCHlch(44.00, 79.32, 310.42°)
OKLaboklab(53.96% 0.0977 -0.1719)
OKLCHoklch(53.96% 0.198 299.6)
XYZxyz(22.6611, 13.8366, 59.8574)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248CE #94CE48
analogous
#4851CE #8248CE #C548CE
triadic
#8248CE #CE8248 #48CE82
tetradic
#8248CE #CE4851 #94CE48 #48CEC5
square
#8248CE #CE4851 #94CE48 #48CEC5
split-complementary
#8248CE #CEC548 #51CE48
monochromatic
#48217B #642EAB #8248CE #A378DB #C4A9E8

Accessibility & contrast

On white

5.57
#8248CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8248CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248CE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248CE#FFFFFF#000000##FFFFFF
##8248CE1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#716685
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8248ce;
/* rgb */ color: rgb(130, 72, 206);
/* oklch */ color: oklch(54.0% 0.198 299.6);
Tailwind
colors: {
  custom: {
    50: '#ac7ede',
    500: '#8248ce',
    950: '#000000',
  },
}
SCSS
$custom: #8248ce;
$custom-light: #ac7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8248ce",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 265.97,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.19774,
    "h": 299.6
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

primary
#8248CE
secondary
#BDD59D
accent
#E1479E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8248CE

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

Preview Lab → · Contrast checker → · Palette generator →

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