#8241DF#8241DF

#8241DF is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.4% C 0.225 H 297.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8241DF
RGBrgb(130, 65, 223)
HSLhsl(265, 71%, 56%)
HSVhsv(265, 71%, 87%)
CMYKcmyk(41.7%, 70.9%, 0%, 12.5%)
CIE-LABlab(44.02, 59.11, -70.10)
CIE-LCHlch(44.02, 91.69, 310.14°)
OKLaboklab(54.37% 0.1022 -0.2004)
OKLCHoklch(54.37% 0.225 297)
XYZxyz(24.4120, 13.8537, 71.1856)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241DF #9EDF41
analogous
#414FDF #8241DF #D141DF
triadic
#8241DF #DF8241 #41DF82
tetradic
#8241DF #DF414F #9EDF41 #41DFD1
square
#8241DF #DF414F #9EDF41 #41DFD1
split-complementary
#8241DF #DFD141 #4FDF41
monochromatic
#48188E #6321C2 #8241DF #A475E8 #C7AAF1

Accessibility & contrast

On white

5.57
#8241DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8241DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241DF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241DF#FFFFFF#000000##FFFFFF
##8241DF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#6A698C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8241df;
/* rgb */ color: rgb(130, 65, 223);
/* oklch */ color: oklch(54.4% 0.225 297.0);
Tailwind
colors: {
  custom: {
    50: '#ae7bea',
    500: '#8241df',
    950: '#000000',
  },
}
SCSS
$custom: #8241df;
$custom-light: #ae7bea;
$custom-dark: #000000;
JSON
{
  "hex": "#8241df",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 264.684,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54373,
    "c": 0.22498,
    "h": 297
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#8241DF
secondary
#C4DE9D
accent
#EE3AA4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8241DF

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

Preview Lab → · Contrast checker → · Palette generator →

#8241DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva