#8242D0#8242D0

#8242D0 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.208 H 300.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8242D0
RGBrgb(130, 66, 208)
HSLhsl(267, 60%, 54%)
HSVhsv(267, 68%, 82%)
CMYKcmyk(37.5%, 68.3%, 0%, 18.4%)
CIE-LABlab(43.06, 54.91, -63.07)
CIE-LCHlch(43.06, 83.63, 311.04°)
OKLaboklab(53.33% 0.1038 -0.1798)
OKLCHoklch(53.33% 0.208 300)
XYZxyz(22.5365, 13.1961, 61.0221)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8242D0 #90D042
analogous
#4249D0 #8242D0 #C942D0
triadic
#8242D0 #D08242 #42D082
tetradic
#8242D0 #D04249 #90D042 #42D0C9
square
#8242D0 #D04249 #90D042 #42D0C9
split-complementary
#8242D0 #D0C942 #49D042
monochromatic
#471E79 #642AAA #8242D0 #A273DC #C3A4E8

Accessibility & contrast

On white

5.77
#8242D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8242D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8242D0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8242D0#FFFFFF#000000##FFFFFF
##8242D01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#706484
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8242d0;
/* rgb */ color: rgb(130, 66, 208);
/* oklch */ color: oklch(53.3% 0.208 300.0);
Tailwind
colors: {
  custom: {
    50: '#ac7bdf',
    500: '#8242d0',
    950: '#000000',
  },
}
SCSS
$custom: #8242d0;
$custom-light: #ac7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8242d0",
  "rgb": {
    "r": 130,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 267.042,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.20759,
    "h": 300
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#8242D0
secondary
#BAD599
accent
#E3449C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8242D0

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

Preview Lab → · Contrast checker → · Palette generator →

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