#7239B4#7239B4

#7239B4 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.185 H 300.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7239B4
RGBrgb(114, 57, 180)
HSLhsl(268, 52%, 46%)
HSVhsv(268, 68%, 71%)
CMYKcmyk(36.7%, 68.3%, 0%, 29.4%)
CIE-LABlab(37.48, 49.19, -55.87)
CIE-LCHlch(37.48, 74.44, 311.36°)
OKLaboklab(48.27% 0.0951 -0.1591)
OKLCHoklch(48.27% 0.185 300.9)
XYZxyz(16.6388, 9.7988, 44.1859)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239B4 #7BB439
analogous
#393EB4 #7239B4 #B039B4
triadic
#7239B4 #B47239 #39B472
tetradic
#7239B4 #B4393E #7BB439 #39B4B0
square
#7239B4 #B4393E #7BB439 #39B4B0
split-complementary
#7239B4 #B4B039 #3EB439
monochromatic
#371C57 #552A86 #7239B4 #915ECC #B18DDB

Accessibility & contrast

On white

7.10
#7239B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7239B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7239B4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239B4#FFFFFF#000000##FFFFFF
##7239B41.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#645672
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7239b4;
/* rgb */ color: rgb(114, 57, 180);
/* oklch */ color: oklch(48.3% 0.185 300.9);
Tailwind
colors: {
  custom: {
    50: '#a074cb',
    500: '#7239b4',
    950: '#000000',
  },
}
SCSS
$custom: #7239b4;
$custom-light: #a074cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7239b4",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 267.805,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.18534,
    "h": 300.9
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#7239B4
secondary
#A7C583
accent
#DB4C99
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7239B4

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

Preview Lab → · Contrast checker → · Palette generator →

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