#8241D2#8241D2

#8241D2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.211 H 299.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8241D2
RGBrgb(130, 65, 210)
HSLhsl(267, 62%, 54%)
HSVhsv(267, 69%, 82%)
CMYKcmyk(38.1%, 69%, 0%, 17.6%)
CIE-LABlab(43.03, 55.89, -64.26)
CIE-LCHlch(43.03, 85.17, 311.01°)
OKLaboklab(53.36% 0.1045 -0.1833)
OKLCHoklch(53.36% 0.211 299.7)
XYZxyz(22.7262, 13.1793, 62.3068)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241D2 #91D241
analogous
#4149D2 #8241D2 #CB41D2
triadic
#8241D2 #D28241 #41D282
tetradic
#8241D2 #D24149 #91D241 #41D2CB
square
#8241D2 #D24149 #91D241 #41D2CB
split-complementary
#8241D2 #D2CB41 #49D241
monochromatic
#471D7B #6429AD #8241D2 #A372DE #C3A4E9

Accessibility & contrast

On white

5.78
#8241D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8241D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241D2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241D2#FFFFFF#000000##FFFFFF
##8241D21.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#706485
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8241d2;
/* rgb */ color: rgb(130, 65, 210);
/* oklch */ color: oklch(53.4% 0.211 299.7);
Tailwind
colors: {
  custom: {
    50: '#ac7ae1',
    500: '#8241d2',
    950: '#000000',
  },
}
SCSS
$custom: #8241d2;
$custom-light: #ac7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#8241d2",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 266.897,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53359,
    "c": 0.21098,
    "h": 299.7
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#8241D2
secondary
#BBD698
accent
#E5439C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8241D2

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

Preview Lab → · Contrast checker → · Palette generator →

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