#7241D4#7241D4

#7241D4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.212 H 292.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7241D4
RGBrgb(114, 65, 212)
HSLhsl(260, 63%, 54%)
HSVhsv(260, 69%, 83%)
CMYKcmyk(46.2%, 69.3%, 0%, 16.9%)
CIE-LABlab(41.39, 53.50, -68.16)
CIE-LCHlch(41.39, 86.65, 308.13°)
OKLaboklab(51.83% 0.0819 -0.1953)
OKLCHoklch(51.83% 0.212 292.8)
XYZxyz(20.7101, 12.1108, 63.5210)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241D4 #A3D441
analogous
#415AD4 #7241D4 #BC41D4
triadic
#7241D4 #D47241 #41D472
tetradic
#7241D4 #D4415A #A3D441 #41D4BC
square
#7241D4 #D4415A #A3D441 #41D4BC
split-complementary
#7241D4 #D4BC41 #5AD441
monochromatic
#3D1D7E #5528B0 #7241D4 #9773DF #BCA5EB

Accessibility & contrast

On white

6.14
#7241D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7241D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241D4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241D4#FFFFFF#000000##FFFFFF
##7241D41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7241d4;
/* rgb */ color: rgb(114, 65, 212);
/* oklch */ color: oklch(51.8% 0.212 292.8);
Tailwind
colors: {
  custom: {
    50: '#a379e2',
    500: '#7241d4',
    950: '#000000',
  },
}
SCSS
$custom: #7241d4;
$custom-light: #a379e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7241d4",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 260,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.21176,
    "h": 292.8
  },
  "luminance": 0.12111
}

Semantic roles & 50–950 ramp

primary
#7241D4
secondary
#C3D899
accent
#E642AF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #7241D4

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

Preview Lab → · Contrast checker → · Palette generator →

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