#7241D8#7241D8

#7241D8 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.216 H 292.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7241D8
RGBrgb(114, 65, 216)
HSLhsl(259, 66%, 55%)
HSVhsv(259, 70%, 85%)
CMYKcmyk(47.2%, 69.9%, 0%, 15.3%)
CIE-LABlab(41.71, 54.57, -69.94)
CIE-LCHlch(41.71, 88.71, 307.96°)
OKLaboklab(52.16% 0.0812 -0.2005)
OKLCHoklch(52.16% 0.216 292)
XYZxyz(21.2209, 12.3151, 66.2114)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241D8 #A7D841
analogous
#415CD8 #7241D8 #BD41D8
triadic
#7241D8 #D87241 #41D872
tetradic
#7241D8 #D8415C #A7D841 #41D8BD
square
#7241D8 #D8415C #A7D841 #41D8BD
split-complementary
#7241D8 #D8BD41 #5CD841
monochromatic
#3D1B84 #5425B6 #7241D8 #9874E2 #BDA7ED

Accessibility & contrast

On white

6.06
#7241D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7241D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241D8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241D8#FFFFFF#000000##FFFFFF
##7241D81.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#526888
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7241d8;
/* rgb */ color: rgb(114, 65, 216);
/* oklch */ color: oklch(52.2% 0.216 292.0);
Tailwind
colors: {
  custom: {
    50: '#a379e5',
    500: '#7241d8',
    950: '#000000',
  },
}
SCSS
$custom: #7241d8;
$custom-light: #a379e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7241d8",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 259.47,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52159,
    "c": 0.2163,
    "h": 292
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#7241D8
secondary
#C6DA9B
accent
#E93FB2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7241D8

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

Preview Lab → · Contrast checker → · Palette generator →

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