#7240D0#7240D0

#7240D0 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.208 H 293.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7240D0
RGBrgb(114, 64, 208)
HSLhsl(261, 61%, 53%)
HSVhsv(261, 69%, 82%)
CMYKcmyk(45.2%, 69.2%, 0%, 18.4%)
CIE-LABlab(40.89, 52.93, -66.67)
CIE-LCHlch(40.89, 85.13, 308.45°)
OKLaboklab(51.38% 0.0836 -0.1909)
OKLCHoklch(51.38% 0.208 293.6)
XYZxyz(20.1549, 11.7977, 60.8775)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7240D0 #9ED040
analogous
#4056D0 #7240D0 #BA40D0
triadic
#7240D0 #D07240 #40D072
tetradic
#7240D0 #D04056 #9ED040 #40D0BA
square
#7240D0 #D04056 #9ED040 #40D0BA
split-complementary
#7240D0 #D0BA40 #56D040
monochromatic
#3D1E78 #562AA9 #7240D0 #9671DC #BBA2E8

Accessibility & contrast

On white

6.25
#7240D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7240D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7240D0
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7240D0#FFFFFF#000000##FFFFFF
##7240D01.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#576483
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7240d0;
/* rgb */ color: rgb(114, 64, 208);
/* oklch */ color: oklch(51.4% 0.208 293.6);
Tailwind
colors: {
  custom: {
    50: '#a279df',
    500: '#7240d0',
    950: '#000000',
  },
}
SCSS
$custom: #7240d0;
$custom-light: #a279df;
$custom-dark: #000000;
JSON
{
  "hex": "#7240d0",
  "rgb": {
    "r": 114,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 260.833,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51377,
    "c": 0.20838,
    "h": 293.6
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#7240D0
secondary
#BFD597
accent
#E444AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7240D0

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

Preview Lab → · Contrast checker → · Palette generator →

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