#8242E0#8242E0

#8242E0 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.225 H 296.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8242E0
RGBrgb(130, 66, 224)
HSLhsl(264, 72%, 57%)
HSVhsv(264, 71%, 88%)
CMYKcmyk(42%, 70.5%, 0%, 12.2%)
CIE-LABlab(44.27, 58.89, -70.27)
CIE-LCHlch(44.27, 91.68, 309.97°)
OKLaboklab(54.57% 0.1011 -0.2009)
OKLCHoklch(54.57% 0.225 296.7)
XYZxyz(24.6052, 14.0236, 71.9170)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8242E0 #A0E042
analogous
#4251E0 #8242E0 #D142E0
triadic
#8242E0 #E08242 #42E082
tetradic
#8242E0 #E04251 #A0E042 #42E0D1
square
#8242E0 #E04251 #A0E042 #42E0D1
split-complementary
#8242E0 #E0D142 #51E042
monochromatic
#481890 #6320C5 #8242E0 #A577E9 #C8ABF1

Accessibility & contrast

On white

5.52
#8242E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8242E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8242E0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8242E0#FFFFFF#000000##FFFFFF
##8242E01.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#6A6A8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8242e0;
/* rgb */ color: rgb(130, 66, 224);
/* oklch */ color: oklch(54.6% 0.225 296.7);
Tailwind
colors: {
  custom: {
    50: '#ae7beb',
    500: '#8242e0',
    950: '#000000',
  },
}
SCSS
$custom: #8242e0;
$custom-light: #ae7beb;
$custom-dark: #000000;
JSON
{
  "hex": "#8242e0",
  "rgb": {
    "r": 130,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 264.304,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5457,
    "c": 0.22494,
    "h": 296.7
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#8242E0
secondary
#C5DF9F
accent
#EF39A5
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8242E0

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

Preview Lab → · Contrast checker → · Palette generator →

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