#7239C5#7239C5

#7239C5 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.204 H 296.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7239C5
RGBrgb(114, 57, 197)
HSLhsl(264, 55%, 50%)
HSVhsv(264, 71%, 77%)
CMYKcmyk(42.1%, 71.1%, 0%, 22.7%)
CIE-LABlab(38.79, 53.51, -63.73)
CIE-LCHlch(38.79, 83.21, 310.02°)
OKLaboklab(49.61% 0.0922 -0.1822)
OKLCHoklch(49.61% 0.204 296.8)
XYZxyz(18.4780, 10.5345, 53.8723)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239C5 #8CC539
analogous
#3946C5 #7239C5 #B839C5
triadic
#7239C5 #C57239 #39C572
tetradic
#7239C5 #C53946 #8CC539 #39C5B8
square
#7239C5 #C53946 #8CC539 #39C5B8
split-complementary
#7239C5 #C5B839 #46C539
monochromatic
#3B1E66 #572B96 #7239C5 #9468D3 #B597E1

Accessibility & contrast

On white

6.76
#7239C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7239C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239C5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239C5#FFFFFF#000000##FFFFFF
##7239C51.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#5D5C7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7239c5;
/* rgb */ color: rgb(114, 57, 197);
/* oklch */ color: oklch(49.6% 0.204 296.8);
Tailwind
colors: {
  custom: {
    50: '#a174d8',
    500: '#7239c5',
    950: '#000000',
  },
}
SCSS
$custom: #7239c5;
$custom-light: #a174d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7239c5",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 264.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.20422,
    "h": 296.8
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#7239C5
secondary
#B3CD8D
accent
#DE49A2
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7239C5

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

Preview Lab → · Contrast checker → · Palette generator →

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