#7239C7#7239C7

#7239C7 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.206 H 296.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7239C7
RGBrgb(114, 57, 199)
HSLhsl(264, 56%, 50%)
HSVhsv(264, 71%, 78%)
CMYKcmyk(42.7%, 71.4%, 0%, 22%)
CIE-LABlab(38.94, 54.02, -64.63)
CIE-LCHlch(38.94, 84.24, 309.89°)
OKLaboklab(49.77% 0.0918 -0.1849)
OKLCHoklch(49.77% 0.206 296.4)
XYZxyz(18.7086, 10.6268, 55.0872)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239C7 #8EC739
analogous
#3947C7 #7239C7 #B939C7
triadic
#7239C7 #C77239 #39C772
tetradic
#7239C7 #C73947 #8EC739 #39C7B9
square
#7239C7 #C73947 #8EC739 #39C7B9
split-complementary
#7239C7 #C7B939 #47C739
monochromatic
#3B1D68 #572B98 #7239C7 #9469D4 #B698E2

Accessibility & contrast

On white

6.72
#7239C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7239C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239C7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239C7#FFFFFF#000000##FFFFFF
##7239C71.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#005AC4
Tritanopia (blue-blind)
#5C5D7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7239c7;
/* rgb */ color: rgb(114, 57, 199);
/* oklch */ color: oklch(49.8% 0.206 296.4);
Tailwind
colors: {
  custom: {
    50: '#a274d9',
    500: '#7239c7',
    950: '#000000',
  },
}
SCSS
$custom: #7239c7;
$custom-light: #a274d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7239c7",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 264.085,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49768,
    "c": 0.20643,
    "h": 296.4
  },
  "luminance": 0.10627
}

Semantic roles & 50–950 ramp

primary
#7239C7
secondary
#B4CE8E
accent
#DF49A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7239C7

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

Preview Lab → · Contrast checker → · Palette generator →

#7239C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva