#7241BD#7241BD

#7241BD is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.185 H 297.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7241BD
RGBrgb(114, 65, 189)
HSLhsl(264, 49%, 50%)
HSVhsv(264, 66%, 74%)
CMYKcmyk(39.7%, 65.6%, 0%, 25.9%)
CIE-LABlab(39.63, 47.40, -57.67)
CIE-LCHlch(39.63, 74.65, 309.42°)
OKLaboklab(50.02% 0.0853 -0.1644)
OKLCHoklch(50.02% 0.185 297.4)
XYZxyz(18.0127, 11.0318, 49.3146)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241BD #8CBD41
analogous
#414EBD #7241BD #B041BD
triadic
#7241BD #BD7241 #41BD72
tetradic
#7241BD #BD414E #8CBD41 #41BDB0
square
#7241BD #BD414E #8CBD41 #41BDB0
split-complementary
#7241BD #BDB041 #4EBD41
monochromatic
#3B2262 #57318F #7241BD #946ECD #B59CDD

Accessibility & contrast

On white

6.55
#7241BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7241BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241BD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241BD#FFFFFF#000000##FFFFFF
##7241BD1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#605E79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7241bd;
/* rgb */ color: rgb(114, 65, 189);
/* oklch */ color: oklch(50.0% 0.185 297.4);
Tailwind
colors: {
  custom: {
    50: '#a079d2',
    500: '#7241bd',
    950: '#000000',
  },
}
SCSS
$custom: #7241bd;
$custom-light: #a079d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7241bd",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 263.71,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.18523,
    "h": 297.4
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#7241BD
secondary
#B3C991
accent
#D84FA2
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7241BD

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

Preview Lab → · Contrast checker → · Palette generator →

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