#7241C7#7241C7

#7241C7 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.197 H 295.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7241C7
RGBrgb(114, 65, 199)
HSLhsl(262, 54%, 52%)
HSVhsv(262, 67%, 78%)
CMYKcmyk(42.7%, 67.3%, 0%, 22%)
CIE-LABlab(40.38, 50.03, -62.30)
CIE-LCHlch(40.38, 79.90, 308.77°)
OKLaboklab(50.79% 0.084 -0.178)
OKLCHoklch(50.79% 0.197 295.3)
XYZxyz(19.1358, 11.4811, 55.2296)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241C7 #96C741
analogous
#4153C7 #7241C7 #B541C7
triadic
#7241C7 #C77241 #41C772
tetradic
#7241C7 #C74153 #96C741 #41C7B5
square
#7241C7 #C74153 #96C741 #41C7B5
split-complementary
#7241C7 #C7B541 #53C741
monochromatic
#3C206D #572E9D #7241C7 #9570D5 #B8A0E3

Accessibility & contrast

On white

6.37
#7241C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7241C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241C7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241C7#FFFFFF#000000##FFFFFF
##7241C71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#5B617F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7241c7;
/* rgb */ color: rgb(114, 65, 199);
/* oklch */ color: oklch(50.8% 0.197 295.3);
Tailwind
colors: {
  custom: {
    50: '#a179d9',
    500: '#7241c7',
    950: '#000000',
  },
}
SCSS
$custom: #7241c7;
$custom-light: #a179d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7241c7",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 261.94,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50791,
    "c": 0.19686,
    "h": 295.3
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#7241C7
secondary
#BACF95
accent
#DE4AA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7241C7

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

Preview Lab → · Contrast checker → · Palette generator →

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