#7239AB#7239AB

#7239AB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.175 H 303.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7239AB
RGBrgb(114, 57, 171)
HSLhsl(270, 50%, 45%)
HSVhsv(270, 67%, 67%)
CMYKcmyk(33.3%, 66.7%, 0%, 32.9%)
CIE-LABlab(36.83, 46.95, -51.58)
CIE-LCHlch(36.83, 69.74, 312.31°)
OKLaboklab(47.59% 0.0962 -0.1465)
OKLCHoklch(47.59% 0.175 303.3)
XYZxyz(15.7515, 9.4439, 39.5132)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239AB #72AB39
analogous
#3939AB #7239AB #AB39AB
triadic
#7239AB #AB7239 #39AB72
tetradic
#7239AB #AB3939 #72AB39 #39ABAB
square
#7239AB #AB3939 #72AB39 #39ABAB
split-complementary
#7239AB #ABAB39 #39AB39
monochromatic
#351A4F #532A7D #7239AB #9159C8 #AF87D7

Accessibility & contrast

On white

7.27
#7239AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7239AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7239AB#FFFFFF#000000##FFFFFF
##7239AB1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0D56A9
Tritanopia (blue-blind)
#67526D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7239ab;
/* rgb */ color: rgb(114, 57, 171);
/* oklch */ color: oklch(47.6% 0.175 303.3);
Tailwind
colors: {
  custom: {
    50: '#9f73c5',
    500: '#7239ab',
    950: '#000000',
  },
}
SCSS
$custom: #7239ab;
$custom-light: #9f73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7239ab",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 270,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.17523,
    "h": 303.3
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#7239AB
secondary
#A0C17F
accent
#DA4E94
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7239AB

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

Preview Lab → · Contrast checker → · Palette generator →

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