#7241D5#7241D5

#7241D5 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.213 H 292.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7241D5
RGBrgb(114, 65, 213)
HSLhsl(260, 64%, 55%)
HSVhsv(260, 69%, 84%)
CMYKcmyk(46.5%, 69.5%, 0%, 16.5%)
CIE-LABlab(41.47, 53.76, -68.61)
CIE-LCHlch(41.47, 87.16, 308.08°)
OKLaboklab(51.91% 0.0817 -0.1966)
OKLCHoklch(51.91% 0.213 292.6)
XYZxyz(20.8366, 12.1614, 64.1874)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241D5 #A4D541
analogous
#415AD5 #7241D5 #BC41D5
triadic
#7241D5 #D57241 #41D572
tetradic
#7241D5 #D5415A #A4D541 #41D5BC
square
#7241D5 #D5415A #A4D541 #41D5BC
split-complementary
#7241D5 #D5BC41 #5AD541
monochromatic
#3D1C7F #5527B2 #7241D5 #9773E0 #BCA5EB

Accessibility & contrast

On white

6.12
#7241D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7241D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241D5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241D5#FFFFFF#000000##FFFFFF
##7241D51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#546686
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7241d5;
/* rgb */ color: rgb(114, 65, 213);
/* oklch */ color: oklch(51.9% 0.213 292.6);
Tailwind
colors: {
  custom: {
    50: '#a379e3',
    500: '#7241d5',
    950: '#000000',
  },
}
SCSS
$custom: #7241d5;
$custom-light: #a379e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7241d5",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 259.865,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51913,
    "c": 0.2129,
    "h": 292.6
  },
  "luminance": 0.12162
}

Semantic roles & 50–950 ramp

primary
#7241D5
secondary
#C3D89A
accent
#E741B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7241D5

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

Preview Lab → · Contrast checker → · Palette generator →

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