#8248C2#8248C2

#8248C2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.184 H 302.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8248C2
RGBrgb(130, 72, 194)
HSLhsl(269, 50%, 52%)
HSVhsv(269, 63%, 76%)
CMYKcmyk(33%, 62.9%, 0%, 23.9%)
CIE-LABlab(43.18, 48.44, -54.77)
CIE-LCHlch(43.18, 73.12, 311.49°)
OKLaboklab(53.11% 0.0987 -0.1554)
OKLCHoklch(53.11% 0.184 302.4)
XYZxyz(21.2586, 13.2756, 52.4709)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248C2 #88C248
analogous
#484BC2 #8248C2 #BF48C2
triadic
#8248C2 #C28248 #48C282
tetradic
#8248C2 #C2484B #88C248 #48C2BF
square
#8248C2 #C2484B #88C248 #48C2BF
split-complementary
#8248C2 #C2BF48 #4BC248
monochromatic
#46246C #64339A #8248C2 #A176D1 #C1A4E1

Accessibility & contrast

On white

5.75
#8248C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8248C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248C2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248C2#FFFFFF#000000##FFFFFF
##8248C21.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#2066BF
Tritanopia (blue-blind)
#75627E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8248c2;
/* rgb */ color: rgb(130, 72, 194);
/* oklch */ color: oklch(53.1% 0.184 302.4);
Tailwind
colors: {
  custom: {
    50: '#ab7ed5',
    500: '#8248c2',
    950: '#000000',
  },
}
SCSS
$custom: #8248c2;
$custom-light: #ab7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#8248c2",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 268.525,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.18409,
    "h": 302.4
  },
  "luminance": 0.13276
}

Semantic roles & 50–950 ramp

primary
#8248C2
secondary
#B4CE98
accent
#DA4E97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8248C2

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

Preview Lab → · Contrast checker → · Palette generator →

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