#7239C3#7239C3

#7239C3 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.202 H 297.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7239C3
RGBrgb(114, 57, 195)
HSLhsl(265, 55%, 49%)
HSVhsv(265, 71%, 76%)
CMYKcmyk(41.5%, 70.8%, 0%, 23.5%)
CIE-LABlab(38.63, 53.00, -62.82)
CIE-LCHlch(38.63, 82.19, 310.15°)
OKLaboklab(49.44% 0.0926 -0.1795)
OKLCHoklch(49.44% 0.202 297.3)
XYZxyz(18.2503, 10.4435, 52.6734)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239C3 #8AC339
analogous
#3945C3 #7239C3 #B739C3
triadic
#7239C3 #C37239 #39C372
tetradic
#7239C3 #C33945 #8AC339 #39C3B7
square
#7239C3 #C33945 #8AC339 #39C3B7
split-complementary
#7239C3 #C3B739 #45C339
monochromatic
#3B1D64 #562B94 #7239C3 #9367D2 #B596E0

Accessibility & contrast

On white

6.80
#7239C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7239C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239C3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239C3#FFFFFF#000000##FFFFFF
##7239C31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#5D5B7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7239c3;
/* rgb */ color: rgb(114, 57, 195);
/* oklch */ color: oklch(49.4% 0.202 297.3);
Tailwind
colors: {
  custom: {
    50: '#a174d6',
    500: '#7239c3',
    950: '#000000',
  },
}
SCSS
$custom: #7239c3;
$custom-light: #a174d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7239c3",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 264.783,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.20202,
    "h": 297.3
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7239C3

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

Preview Lab → · Contrast checker → · Palette generator →

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