#7239C4#7239C4

#7239C4 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.5% C 0.203 H 297.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7239C4
RGBrgb(114, 57, 196)
HSLhsl(265, 55%, 50%)
HSVhsv(265, 71%, 77%)
CMYKcmyk(41.8%, 70.9%, 0%, 23.1%)
CIE-LABlab(38.71, 53.25, -63.27)
CIE-LCHlch(38.71, 82.70, 310.08°)
OKLaboklab(49.53% 0.0924 -0.1809)
OKLCHoklch(49.53% 0.203 297.1)
XYZxyz(18.3638, 10.4888, 53.2709)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239C4 #8BC439
analogous
#3946C4 #7239C4 #B839C4
triadic
#7239C4 #C47239 #39C472
tetradic
#7239C4 #C43946 #8BC439 #39C4B8
square
#7239C4 #C43946 #8BC439 #39C4B8
split-complementary
#7239C4 #C4B839 #46C439
monochromatic
#3B1D65 #562B95 #7239C4 #9367D3 #B597E1

Accessibility & contrast

On white

6.78
#7239C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7239C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239C4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239C4#FFFFFF#000000##FFFFFF
##7239C41.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#5D5C7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7239c4;
/* rgb */ color: rgb(114, 57, 196);
/* oklch */ color: oklch(49.5% 0.203 297.1);
Tailwind
colors: {
  custom: {
    50: '#a174d7',
    500: '#7239c4',
    950: '#000000',
  },
}
SCSS
$custom: #7239c4;
$custom-light: #a174d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7239c4",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 264.604,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.20312,
    "h": 297.1
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#7239C4
secondary
#B2CC8D
accent
#DE4AA1
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7239C4

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

Preview Lab → · Contrast checker → · Palette generator →

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