#7240C0#7240C0

#7240C0 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.190 H 296.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7240C0
RGBrgb(114, 64, 192)
HSLhsl(263, 50%, 50%)
HSVhsv(263, 67%, 75%)
CMYKcmyk(40.6%, 66.7%, 0%, 24.7%)
CIE-LABlab(39.66, 48.71, -59.38)
CIE-LCHlch(39.66, 76.80, 309.36°)
OKLaboklab(50.11% 0.086 -0.1694)
OKLCHoklch(50.11% 0.19 296.9)
XYZxyz(18.2848, 11.0496, 51.0284)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7240C0 #8EC040
analogous
#404EC0 #7240C0 #B240C0
triadic
#7240C0 #C07240 #40C072
tetradic
#7240C0 #C0404E #8EC040 #40C0B2
square
#7240C0 #C0404E #8EC040 #40C0B2
split-complementary
#7240C0 #C0B240 #4EC040
monochromatic
#3B2164 #573092 #7240C0 #946ECF #B69CDE

Accessibility & contrast

On white

6.54
#7240C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7240C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7240C0
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7240C0#FFFFFF#000000##FFFFFF
##7240C01.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#5E5E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7240c0;
/* rgb */ color: rgb(114, 64, 192);
/* oklch */ color: oklch(50.1% 0.190 296.9);
Tailwind
colors: {
  custom: {
    50: '#a078d4',
    500: '#7240c0',
    950: '#000000',
  },
}
SCSS
$custom: #7240c0;
$custom-light: #a078d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7240c0",
  "rgb": {
    "r": 114,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 263.438,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50113,
    "c": 0.19002,
    "h": 296.9
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#7240C0
secondary
#B4CB91
accent
#DA4EA3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7240C0

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

Preview Lab → · Contrast checker → · Palette generator →

#7240C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva