#7239AF#7239AF

#7239AF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.180 H 302.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7239AF
RGBrgb(114, 57, 175)
HSLhsl(269, 51%, 45%)
HSVhsv(269, 67%, 69%)
CMYKcmyk(34.9%, 67.4%, 0%, 31.4%)
CIE-LABlab(37.11, 47.94, -53.49)
CIE-LCHlch(37.11, 71.83, 311.86°)
OKLaboklab(47.89% 0.0957 -0.1521)
OKLCHoklch(47.89% 0.18 302.2)
XYZxyz(16.1386, 9.5988, 41.5516)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239AF #76AF39
analogous
#393BAF #7239AF #AD39AF
triadic
#7239AF #AF7239 #39AF72
tetradic
#7239AF #AF393B #76AF39 #39AFAD
square
#7239AF #AF393B #76AF39 #39AFAD
split-complementary
#7239AF #AFAD39 #3BAF39
monochromatic
#361B53 #542A81 #7239AF #915BCA #B08AD9

Accessibility & contrast

On white

7.19
#7239AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7239AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7239AF#FFFFFF#000000##FFFFFF
##7239AF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#65546F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7239af;
/* rgb */ color: rgb(114, 57, 175);
/* oklch */ color: oklch(47.9% 0.180 302.2);
Tailwind
colors: {
  custom: {
    50: '#9f73c8',
    500: '#7239af',
    950: '#000000',
  },
}
SCSS
$custom: #7239af;
$custom-light: #9f73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7239af",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 268.983,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.17973,
    "h": 302.2
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#7239AF
secondary
#A3C381
accent
#DA4D96
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7239AF

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

Preview Lab → · Contrast checker → · Palette generator →

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