#7241AC#7241AC

#7241AC is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.165 H 301.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7241AC
RGBrgb(114, 65, 172)
HSLhsl(267, 45%, 46%)
HSVhsv(267, 62%, 67%)
CMYKcmyk(33.7%, 62.2%, 0%, 32.5%)
CIE-LABlab(38.44, 42.99, -49.57)
CIE-LCHlch(38.44, 65.62, 310.94°)
OKLaboklab(48.78% 0.0866 -0.1406)
OKLCHoklch(48.78% 0.165 301.6)
XYZxyz(16.2744, 10.3365, 40.1595)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241AC #7BAC41
analogous
#4145AC #7241AC #A841AC
triadic
#7241AC #AC7241 #41AC72
tetradic
#7241AC #AC4145 #7BAC41 #41ACA8
square
#7241AC #AC4145 #7BAC41 #41ACA8
split-complementary
#7241AC #ACA841 #45AC41
monochromatic
#371F53 #553080 #7241AC #9165C5 #B192D6

Accessibility & contrast

On white

6.85
#7241AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7241AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241AC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241AC#FFFFFF#000000##FFFFFF
##7241AC1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#1E5AAA
Tritanopia (blue-blind)
#665870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7241ac;
/* rgb */ color: rgb(114, 65, 172);
/* oklch */ color: oklch(48.8% 0.165 301.6);
Tailwind
colors: {
  custom: {
    50: '#9f78c5',
    500: '#7241ac',
    950: '#000000',
  },
}
SCSS
$custom: #7241ac;
$custom-light: #9f78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7241ac",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 267.477,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48779,
    "c": 0.16517,
    "h": 301.6
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#7241AC
secondary
#A7C188
accent
#D55399
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7241AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7241AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva