#7239AA#7239AA

#7239AA is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.174 H 303.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7239AA
RGBrgb(114, 57, 170)
HSLhsl(270, 50%, 45%)
HSVhsv(270, 66%, 67%)
CMYKcmyk(32.9%, 66.5%, 0%, 33.3%)
CIE-LABlab(36.75, 46.70, -51.10)
CIE-LCHlch(36.75, 69.22, 312.42°)
OKLaboklab(47.52% 0.0963 -0.1451)
OKLCHoklch(47.52% 0.174 303.6)
XYZxyz(15.6566, 9.4060, 39.0131)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239AA #71AA39
analogous
#3939AA #7239AA #AA39AA
triadic
#7239AA #AA7239 #39AA72
tetradic
#7239AA #AA3939 #71AA39 #39AAAA
square
#7239AA #AA3939 #71AA39 #39AAAA
split-complementary
#7239AA #AAAA39 #39AA39
monochromatic
#351A4E #532A7C #7239AA #9159C7 #AF87D7

Accessibility & contrast

On white

7.29
#7239AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7239AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7239AA#FFFFFF#000000##FFFFFF
##7239AA1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#1056A8
Tritanopia (blue-blind)
#67526C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7239aa;
/* rgb */ color: rgb(114, 57, 170);
/* oklch */ color: oklch(47.5% 0.174 303.6);
Tailwind
colors: {
  custom: {
    50: '#9f73c4',
    500: '#7239aa',
    950: '#000000',
  },
}
SCSS
$custom: #7239aa;
$custom-light: #9f73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7239aa",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 270.265,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.17411,
    "h": 303.6
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#7239AA
secondary
#9FC17E
accent
#D94E93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7239AA

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

Preview Lab → · Contrast checker → · Palette generator →

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