#7241BA#7241BA

#7241BA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.182 H 298.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7241BA
RGBrgb(114, 65, 186)
HSLhsl(264, 48%, 49%)
HSVhsv(264, 65%, 73%)
CMYKcmyk(38.7%, 65.1%, 0%, 27.1%)
CIE-LABlab(39.42, 46.61, -56.26)
CIE-LCHlch(39.42, 73.06, 309.64°)
OKLaboklab(49.8% 0.0856 -0.1603)
OKLCHoklch(49.8% 0.182 298.1)
XYZxyz(17.6904, 10.9029, 47.6173)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241BA #89BA41
analogous
#414CBA #7241BA #AF41BA
triadic
#7241BA #BA7241 #41BA72
tetradic
#7241BA #BA414C #89BA41 #41BAAF
square
#7241BA #BA414C #89BA41 #41BAAF
split-complementary
#7241BA #BAAF41 #4CBA41
monochromatic
#3A215F #56318D #7241BA #936CCC #B49ADC

Accessibility & contrast

On white

6.60
#7241BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7241BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241BA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241BA#FFFFFF#000000##FFFFFF
##7241BA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#615D78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7241ba;
/* rgb */ color: rgb(114, 65, 186);
/* oklch */ color: oklch(49.8% 0.182 298.1);
Tailwind
colors: {
  custom: {
    50: '#a078d0',
    500: '#7241ba',
    950: '#000000',
  },
}
SCSS
$custom: #7241ba;
$custom-light: #a078d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7241ba",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 264.298,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.18171,
    "h": 298.1
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#7241BA
secondary
#B1C88F
accent
#D850A1
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7241BA

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

Preview Lab → · Contrast checker → · Palette generator →

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