#8248E3#8248E3

#8248E3 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.221 H 295.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8248E3
RGBrgb(130, 72, 227)
HSLhsl(262, 73%, 59%)
HSVhsv(262, 68%, 89%)
CMYKcmyk(42.7%, 68.3%, 0%, 11%)
CIE-LABlab(45.53, 56.77, -69.91)
CIE-LCHlch(45.53, 90.06, 309.08°)
OKLaboklab(55.54% 0.0949 -0.1999)
OKLCHoklch(55.54% 0.221 295.4)
XYZxyz(25.3847, 14.9260, 74.2017)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248E3 #A9E348
analogous
#485BE3 #8248E3 #D048E3
triadic
#8248E3 #E38248 #48E382
tetradic
#8248E3 #E3485B #A9E348 #48E3D0
square
#8248E3 #E3485B #A9E348 #48E3D0
split-complementary
#8248E3 #E3D048 #5BE348
monochromatic
#481799 #6120CE #8248E3 #A67DEB #CBB2F3

Accessibility & contrast

On white

5.27
#8248E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8248E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248E3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248E3#FFFFFF#000000##FFFFFF
##8248E31.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#686E90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8248e3;
/* rgb */ color: rgb(130, 72, 227);
/* oklch */ color: oklch(55.5% 0.221 295.4);
Tailwind
colors: {
  custom: {
    50: '#ae7fed',
    500: '#8248e3',
    950: '#000000',
  },
}
SCSS
$custom: #8248e3;
$custom-light: #ae7fed;
$custom-dark: #000000;
JSON
{
  "hex": "#8248e3",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 262.452,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55544,
    "c": 0.22129,
    "h": 295.4
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#8248E3
secondary
#CBE2A5
accent
#F038AB
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8248E3

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

Preview Lab → · Contrast checker → · Palette generator →

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