#7239C2#7239C2

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

Color values

HEX#7239C2
RGBrgb(114, 57, 194)
HSLhsl(265, 55%, 49%)
HSVhsv(265, 71%, 76%)
CMYKcmyk(41.2%, 70.6%, 0%, 23.9%)
CIE-LABlab(38.55, 52.74, -62.36)
CIE-LCHlch(38.55, 81.67, 310.22°)
OKLaboklab(49.36% 0.0928 -0.1782)
OKLCHoklch(49.36% 0.201 297.5)
XYZxyz(18.1376, 10.3984, 52.0800)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239C2 #89C239
analogous
#3944C2 #7239C2 #B739C2
triadic
#7239C2 #C27239 #39C272
tetradic
#7239C2 #C23944 #89C239 #39C2B7
square
#7239C2 #C23944 #89C239 #39C2B7
split-complementary
#7239C2 #C2B739 #44C239
monochromatic
#3A1D63 #562B93 #7239C2 #9366D2 #B495E0

Accessibility & contrast

On white

6.82
#7239C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7239C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239C2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239C2#FFFFFF#000000##FFFFFF
##7239C21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#5E5B7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7239c2;
/* rgb */ color: rgb(114, 57, 194);
/* oklch */ color: oklch(49.4% 0.201 297.5);
Tailwind
colors: {
  custom: {
    50: '#a174d5',
    500: '#7239c2',
    950: '#000000',
  },
}
SCSS
$custom: #7239c2;
$custom-light: #a174d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7239c2",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 264.964,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49363,
    "c": 0.20091,
    "h": 297.5
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#7239C2
secondary
#B1CB8B
accent
#DE4AA0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7239C2

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

Preview Lab → · Contrast checker → · Palette generator →

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