#7241C5#7241C5

#7241C5 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.195 H 295.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7241C5
RGBrgb(114, 65, 197)
HSLhsl(262, 53%, 51%)
HSVhsv(262, 67%, 77%)
CMYKcmyk(42.1%, 67%, 0%, 22.7%)
CIE-LABlab(40.23, 49.51, -61.38)
CIE-LCHlch(40.23, 78.86, 308.89°)
OKLaboklab(50.64% 0.0843 -0.1753)
OKLCHoklch(50.64% 0.195 295.7)
XYZxyz(18.9051, 11.3888, 54.0147)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241C5 #94C541
analogous
#4152C5 #7241C5 #B441C5
triadic
#7241C5 #C57241 #41C572
tetradic
#7241C5 #C54152 #94C541 #41C5B4
square
#7241C5 #C54152 #94C541 #41C5B4
split-complementary
#7241C5 #C5B441 #52C541
monochromatic
#3C216B #572F9A #7241C5 #9570D3 #B89FE2

Accessibility & contrast

On white

6.41
#7241C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7241C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241C5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241C5#FFFFFF#000000##FFFFFF
##7241C51.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#5C617E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7241c5;
/* rgb */ color: rgb(114, 65, 197);
/* oklch */ color: oklch(50.6% 0.195 295.7);
Tailwind
colors: {
  custom: {
    50: '#a179d7',
    500: '#7241c5',
    950: '#000000',
  },
}
SCSS
$custom: #7241c5;
$custom-light: #a179d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7241c5",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 262.273,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.19454,
    "h": 295.7
  },
  "luminance": 0.11389
}

Semantic roles & 50–950 ramp

primary
#7241C5
secondary
#B8CE94
accent
#DD4BA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7241C5

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

Preview Lab → · Contrast checker → · Palette generator →

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