#8248CA#8248CA

#8248CA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.193 H 300.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8248CA
RGBrgb(130, 72, 202)
HSLhsl(267, 55%, 54%)
HSVhsv(267, 64%, 79%)
CMYKcmyk(35.6%, 64.4%, 0%, 20.8%)
CIE-LABlab(43.72, 50.43, -58.54)
CIE-LCHlch(43.72, 77.26, 310.74°)
OKLaboklab(53.67% 0.0981 -0.1665)
OKLCHoklch(53.67% 0.193 300.5)
XYZxyz(22.1814, 13.6447, 57.3307)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248CA #90CA48
analogous
#484FCA #8248CA #C348CA
triadic
#8248CA #CA8248 #48CA82
tetradic
#8248CA #CA484F #90CA48 #48CAC3
square
#8248CA #CA484F #90CA48 #48CAC3
split-complementary
#8248CA #CAC348 #4FCA48
monochromatic
#472276 #6430A5 #8248CA #A277D8 #C3A7E5

Accessibility & contrast

On white

5.63
#8248CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8248CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248CA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248CA#FFFFFF#000000##FFFFFF
##8248CA1.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)
#0067CE
Deuteranopia (green-blind)
#0A66C7
Tritanopia (blue-blind)
#726583
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8248ca;
/* rgb */ color: rgb(130, 72, 202);
/* oklch */ color: oklch(53.7% 0.193 300.5);
Tailwind
colors: {
  custom: {
    50: '#ab7edb',
    500: '#8248ca',
    950: '#000000',
  },
}
SCSS
$custom: #8248ca;
$custom-light: #ab7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8248ca",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 266.769,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.1932,
    "h": 300.5
  },
  "luminance": 0.13645
}

Semantic roles & 50–950 ramp

primary
#8248CA
secondary
#BAD39B
accent
#DE499C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8248CA

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

Preview Lab → · Contrast checker → · Palette generator →

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