#8248CB#8248CB

#8248CB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.194 H 300.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8248CB
RGBrgb(130, 72, 203)
HSLhsl(267, 56%, 54%)
HSVhsv(267, 65%, 80%)
CMYKcmyk(36%, 64.5%, 0%, 20.4%)
CIE-LABlab(43.79, 50.68, -59.00)
CIE-LCHlch(43.79, 77.78, 310.66°)
OKLaboklab(53.74% 0.098 -0.1678)
OKLCHoklch(53.74% 0.194 300.3)
XYZxyz(22.3001, 13.6922, 57.9563)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248CB #91CB48
analogous
#4850CB #8248CB #C448CB
triadic
#8248CB #CB8248 #48CB82
tetradic
#8248CB #CB4850 #91CB48 #48CBC4
square
#8248CB #CB4850 #91CB48 #48CBC4
split-complementary
#8248CB #CBC448 #50CB48
monochromatic
#472277 #642FA6 #8248CB #A378D9 #C3A7E6

Accessibility & contrast

On white

5.62
#8248CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8248CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248CB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248CB#FFFFFF#000000##FFFFFF
##8248CB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0567C8
Tritanopia (blue-blind)
#726583
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8248cb;
/* rgb */ color: rgb(130, 72, 203);
/* oklch */ color: oklch(53.7% 0.194 300.3);
Tailwind
colors: {
  custom: {
    50: '#ab7edc',
    500: '#8248cb',
    950: '#000000',
  },
}
SCSS
$custom: #8248cb;
$custom-light: #ab7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8248cb",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 266.565,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53743,
    "c": 0.19433,
    "h": 300.3
  },
  "luminance": 0.13692
}

Semantic roles & 50–950 ramp

primary
#8248CB
secondary
#BBD39B
accent
#DF499D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8248CB

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

Preview Lab → · Contrast checker → · Palette generator →

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