#7239C6#7239C6

#7239C6 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.205 H 296.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7239C6
RGBrgb(114, 57, 198)
HSLhsl(264, 55%, 50%)
HSVhsv(264, 71%, 78%)
CMYKcmyk(42.4%, 71.2%, 0%, 22.4%)
CIE-LABlab(38.86, 53.76, -64.18)
CIE-LCHlch(38.86, 83.72, 309.95°)
OKLaboklab(49.69% 0.092 -0.1835)
OKLCHoklch(49.69% 0.205 296.6)
XYZxyz(18.5929, 10.5805, 54.4778)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239C6 #8DC639
analogous
#3947C6 #7239C6 #B839C6
triadic
#7239C6 #C67239 #39C672
tetradic
#7239C6 #C63947 #8DC639 #39C6B8
square
#7239C6 #C63947 #8DC639 #39C6B8
split-complementary
#7239C6 #C6B839 #47C639
monochromatic
#3B1E67 #572B96 #7239C6 #9469D4 #B698E1

Accessibility & contrast

On white

6.74
#7239C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7239C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239C6
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239C6#FFFFFF#000000##FFFFFF
##7239C61.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#5C5D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7239c6;
/* rgb */ color: rgb(114, 57, 198);
/* oklch */ color: oklch(49.7% 0.205 296.6);
Tailwind
colors: {
  custom: {
    50: '#a274d8',
    500: '#7239c6',
    950: '#000000',
  },
}
SCSS
$custom: #7239c6;
$custom-light: #a274d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7239c6",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 264.255,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.49687,
    "c": 0.20532,
    "h": 296.6
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#7239C6
secondary
#B3CD8E
accent
#DF49A2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7239C6

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

Preview Lab → · Contrast checker → · Palette generator →

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