#8242D9#8242D9

#8242D9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.217 H 298.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8242D9
RGBrgb(130, 66, 217)
HSLhsl(265, 67%, 55%)
HSVhsv(265, 70%, 85%)
CMYKcmyk(40.1%, 69.6%, 0%, 14.9%)
CIE-LABlab(43.73, 57.14, -67.15)
CIE-LCHlch(43.73, 88.17, 310.40°)
OKLaboklab(54.02% 0.1024 -0.1918)
OKLCHoklch(54.02% 0.217 298.1)
XYZxyz(23.6753, 13.6516, 67.0199)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8242D9 #99D942
analogous
#424ED9 #8242D9 #CD42D9
triadic
#8242D9 #D98242 #42D982
tetradic
#8242D9 #D9424E #99D942 #42D9CD
square
#8242D9 #D9424E #99D942 #42D9CD
split-complementary
#8242D9 #D9CD42 #4ED942
monochromatic
#481B86 #6425B9 #8242D9 #A475E3 #C5A8ED

Accessibility & contrast

On white

5.63
#8242D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8242D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8242D9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8242D9#FFFFFF#000000##FFFFFF
##8242D91.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)
#0068DD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#6D6789
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8242d9;
/* rgb */ color: rgb(130, 66, 217);
/* oklch */ color: oklch(54.0% 0.217 298.1);
Tailwind
colors: {
  custom: {
    50: '#ad7be6',
    500: '#8242d9',
    950: '#000000',
  },
}
SCSS
$custom: #8242d9;
$custom-light: #ad7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8242d9",
  "rgb": {
    "r": 130,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 265.43,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.21737,
    "h": 298.1
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#8242D9
secondary
#C0DB9C
accent
#E93EA1
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8242D9

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

Preview Lab → · Contrast checker → · Palette generator →

#8242D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva