#7239A8#7239A8

#7239A8 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.172 H 304.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7239A8
RGBrgb(114, 57, 168)
HSLhsl(271, 49%, 44%)
HSVhsv(271, 66%, 66%)
CMYKcmyk(32.1%, 66.1%, 0%, 34.1%)
CIE-LABlab(36.61, 46.20, -50.13)
CIE-LCHlch(36.61, 68.17, 312.67°)
OKLaboklab(47.37% 0.0964 -0.1422)
OKLCHoklch(47.37% 0.172 304.1)
XYZxyz(15.4688, 9.3309, 38.0243)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239A8 #6FA839
analogous
#3B39A8 #7239A8 #A839A7
triadic
#7239A8 #A87239 #39A872
tetradic
#7239A8 #A83B39 #6FA839 #39A7A8
square
#7239A8 #A83B39 #6FA839 #39A7A8
split-complementary
#7239A8 #A7A839 #39A83B
monochromatic
#341A4D #53297A #7239A8 #9158C6 #AF86D6

Accessibility & contrast

On white

7.33
#7239A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7239A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7239A8#FFFFFF#000000##FFFFFF
##7239A81.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#1556A6
Tritanopia (blue-blind)
#68516B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7239a8;
/* rgb */ color: rgb(114, 57, 168);
/* oklch */ color: oklch(47.4% 0.172 304.1);
Tailwind
colors: {
  custom: {
    50: '#9f73c3',
    500: '#7239a8',
    950: '#000000',
  },
}
SCSS
$custom: #7239a8;
$custom-light: #9f73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7239a8",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 270.811,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.17185,
    "h": 304.1
  },
  "luminance": 0.09331
}

Semantic roles & 50–950 ramp

primary
#7239A8
secondary
#9DC07D
accent
#D94F92
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7239A8

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

Preview Lab → · Contrast checker → · Palette generator →

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