#7239AC#7239AC

#7239AC is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.176 H 303.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7239AC
RGBrgb(114, 57, 172)
HSLhsl(270, 50%, 45%)
HSVhsv(270, 67%, 67%)
CMYKcmyk(33.7%, 66.9%, 0%, 32.5%)
CIE-LABlab(36.90, 47.19, -52.06)
CIE-LCHlch(36.90, 70.27, 312.19°)
OKLaboklab(47.66% 0.0961 -0.1479)
OKLCHoklch(47.66% 0.176 303)
XYZxyz(15.8472, 9.4822, 40.0171)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239AC #73AC39
analogous
#393AAC #7239AC #AB39AC
triadic
#7239AC #AC7239 #39AC72
tetradic
#7239AC #AC393A #73AC39 #39ACAB
square
#7239AC #AC393A #73AC39 #39ACAB
split-complementary
#7239AC #ACAB39 #3AAC39
monochromatic
#351B50 #542A7E #7239AC #915AC8 #AF88D8

Accessibility & contrast

On white

7.25
#7239AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7239AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7239AC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239AC#FFFFFF#000000##FFFFFF
##7239AC1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#0A57AA
Tritanopia (blue-blind)
#67536E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7239ac;
/* rgb */ color: rgb(114, 57, 172);
/* oklch */ color: oklch(47.7% 0.176 303.0);
Tailwind
colors: {
  custom: {
    50: '#9f73c5',
    500: '#7239ac',
    950: '#000000',
  },
}
SCSS
$custom: #7239ac;
$custom-light: #9f73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7239ac",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 269.739,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47664,
    "c": 0.17636,
    "h": 303
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#7239AC
secondary
#A1C27F
accent
#DA4E95
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7239AC

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

Preview Lab → · Contrast checker → · Palette generator →

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