#7240C9#7240C9

#7240C9 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.8% C 0.200 H 295.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7240C9
RGBrgb(114, 64, 201)
HSLhsl(262, 56%, 52%)
HSVhsv(262, 68%, 79%)
CMYKcmyk(43.3%, 68.2%, 0%, 21.2%)
CIE-LABlab(40.35, 51.08, -63.51)
CIE-LCHlch(40.35, 81.50, 308.81°)
OKLaboklab(50.82% 0.0847 -0.1816)
OKLCHoklch(50.82% 0.2 295)
XYZxyz(19.3126, 11.4608, 56.4416)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7240C9 #97C940
analogous
#4053C9 #7240C9 #B740C9
triadic
#7240C9 #C97240 #40C972
tetradic
#7240C9 #C94053 #97C940 #40C9B7
square
#7240C9 #C94053 #97C940 #40C9B7
split-complementary
#7240C9 #C9B740 #53C940
monochromatic
#3D1F6F #572D9F #7240C9 #9570D6 #B89FE4

Accessibility & contrast

On white

6.38
#7240C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7240C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7240C9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7240C9#FFFFFF#000000##FFFFFF
##7240C91.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#5A617F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7240c9;
/* rgb */ color: rgb(114, 64, 201);
/* oklch */ color: oklch(50.8% 0.200 295.0);
Tailwind
colors: {
  custom: {
    50: '#a178da',
    500: '#7240c9',
    950: '#000000',
  },
}
SCSS
$custom: #7240c9;
$custom-light: #a178da;
$custom-dark: #000000;
JSON
{
  "hex": "#7240c9",
  "rgb": {
    "r": 114,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 261.898,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.20039,
    "h": 295
  },
  "luminance": 0.11461
}

Semantic roles & 50–950 ramp

primary
#7240C9
secondary
#BAD094
accent
#DF49A8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7240C9

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

Preview Lab → · Contrast checker → · Palette generator →

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