#7239B8#7239B8

#7239B8 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.190 H 299.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7239B8
RGBrgb(114, 57, 184)
HSLhsl(267, 53%, 47%)
HSVhsv(267, 69%, 72%)
CMYKcmyk(38%, 69%, 0%, 27.8%)
CIE-LABlab(37.78, 50.20, -57.74)
CIE-LCHlch(37.78, 76.51, 311.00°)
OKLaboklab(48.57% 0.0945 -0.1646)
OKLCHoklch(48.57% 0.19 299.9)
XYZxyz(17.0521, 9.9642, 46.3630)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239B8 #7FB839
analogous
#3940B8 #7239B8 #B139B8
triadic
#7239B8 #B87239 #39B872
tetradic
#7239B8 #B83940 #7FB839 #39B8B1
square
#7239B8 #B83940 #7FB839 #39B8B1
split-complementary
#7239B8 #B8B139 #40B839
monochromatic
#381C5B #552B89 #7239B8 #9160CE #B28FDC

Accessibility & contrast

On white

7.02
#7239B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7239B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7239B8#FFFFFF#000000##FFFFFF
##7239B81.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#625774
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7239b8;
/* rgb */ color: rgb(114, 57, 184);
/* oklch */ color: oklch(48.6% 0.190 299.9);
Tailwind
colors: {
  custom: {
    50: '#a074ce',
    500: '#7239b8',
    950: '#000000',
  },
}
SCSS
$custom: #7239b8;
$custom-light: #a074ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7239b8",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 266.929,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.18981,
    "h": 299.9
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7239B8

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

Preview Lab → · Contrast checker → · Palette generator →

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