#7241C2#7241C2

#7241C2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.191 H 296.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7241C2
RGBrgb(114, 65, 194)
HSLhsl(263, 51%, 51%)
HSVhsv(263, 66%, 76%)
CMYKcmyk(41.2%, 66.5%, 0%, 23.9%)
CIE-LABlab(40.00, 48.71, -60.00)
CIE-LCHlch(40.00, 77.28, 309.07°)
OKLaboklab(50.4% 0.0847 -0.1713)
OKLCHoklch(50.4% 0.191 296.3)
XYZxyz(18.5648, 11.2527, 52.2223)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241C2 #91C241
analogous
#4150C2 #7241C2 #B241C2
triadic
#7241C2 #C27241 #41C272
tetradic
#7241C2 #C24150 #91C241 #41C2B2
square
#7241C2 #C24150 #91C241 #41C2B2
split-complementary
#7241C2 #C2B241 #50C241
monochromatic
#3C2167 #573096 #7241C2 #946FD1 #B79EE0

Accessibility & contrast

On white

6.46
#7241C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7241C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241C2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241C2#FFFFFF#000000##FFFFFF
##7241C21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#5E5F7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7241c2;
/* rgb */ color: rgb(114, 65, 194);
/* oklch */ color: oklch(50.4% 0.191 296.3);
Tailwind
colors: {
  custom: {
    50: '#a179d5',
    500: '#7241c2',
    950: '#000000',
  },
}
SCSS
$custom: #7241c2;
$custom-light: #a179d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7241c2",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 262.791,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50403,
    "c": 0.19105,
    "h": 296.3
  },
  "luminance": 0.11253
}

Semantic roles & 50–950 ramp

primary
#7241C2
secondary
#B6CC93
accent
#DB4DA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7241C2

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

Preview Lab → · Contrast checker → · Palette generator →

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