#7239B7#7239B7

#7239B7 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.189 H 300.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7239B7
RGBrgb(114, 57, 183)
HSLhsl(267, 53%, 47%)
HSVhsv(267, 69%, 72%)
CMYKcmyk(37.7%, 68.9%, 0%, 28.2%)
CIE-LABlab(37.70, 49.95, -57.28)
CIE-LCHlch(37.70, 75.99, 311.09°)
OKLaboklab(48.5% 0.0946 -0.1632)
OKLCHoklch(48.5% 0.189 300.1)
XYZxyz(16.9477, 9.9224, 45.8129)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239B7 #7EB739
analogous
#393FB7 #7239B7 #B139B7
triadic
#7239B7 #B77239 #39B772
tetradic
#7239B7 #B7393F #7EB739 #39B7B1
square
#7239B7 #B7393F #7EB739 #39B7B1
split-complementary
#7239B7 #B7B139 #3FB739
monochromatic
#381C5A #552A88 #7239B7 #9160CD #B28EDC

Accessibility & contrast

On white

7.04
#7239B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7239B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7239B7#FFFFFF#000000##FFFFFF
##7239B71.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#635773
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7239b7;
/* rgb */ color: rgb(114, 57, 183);
/* oklch */ color: oklch(48.5% 0.189 300.1);
Tailwind
colors: {
  custom: {
    50: '#a074cd',
    500: '#7239b7',
    950: '#000000',
  },
}
SCSS
$custom: #7239b7;
$custom-light: #a074cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7239b7",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 267.143,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48496,
    "c": 0.18869,
    "h": 300.1
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#7239B7
secondary
#A9C785
accent
#DC4C9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7239B7

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

Preview Lab → · Contrast checker → · Palette generator →

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