#7241E2#7241E2

#7241E2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.228 H 290.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7241E2
RGBrgb(114, 65, 226)
HSLhsl(258, 74%, 57%)
HSVhsv(258, 71%, 89%)
CMYKcmyk(49.6%, 71.2%, 0%, 11.4%)
CIE-LABlab(42.53, 57.25, -74.31)
CIE-LCHlch(42.53, 93.80, 307.61°)
OKLaboklab(53% 0.0792 -0.2133)
OKLCHoklch(53% 0.228 290.4)
XYZxyz(22.5533, 12.8481, 73.2283)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241E2 #B1E241
analogous
#4161E2 #7241E2 #C341E2
triadic
#7241E2 #E27241 #41E272
tetradic
#7241E2 #E24161 #B1E241 #41E2C3
square
#7241E2 #E24161 #B1E241 #41E2C3
split-complementary
#7241E2 #E2C341 #61E241
monochromatic
#3C1692 #521EC7 #7241E2 #9976EA #C1ABF2

Accessibility & contrast

On white

5.88
#7241E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7241E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241E2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241E2#FFFFFF#000000##FFFFFF
##7241E21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#4B6B8E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7241e2;
/* rgb */ color: rgb(114, 65, 226);
/* oklch */ color: oklch(53.0% 0.228 290.4);
Tailwind
colors: {
  custom: {
    50: '#a47aec',
    500: '#7241e2',
    950: '#000000',
  },
}
SCSS
$custom: #7241e2;
$custom-light: #a47aec;
$custom-dark: #000000;
JSON
{
  "hex": "#7241e2",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 258.261,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52996,
    "c": 0.22755,
    "h": 290.4
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#7241E2
secondary
#CCE09F
accent
#F038B8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7241E2

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

Preview Lab → · Contrast checker → · Palette generator →

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