#7239BD#7239BD

#7239BD is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.195 H 298.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7239BD
RGBrgb(114, 57, 189)
HSLhsl(266, 54%, 48%)
HSVhsv(266, 70%, 74%)
CMYKcmyk(39.7%, 69.8%, 0%, 25.9%)
CIE-LABlab(38.16, 51.47, -60.07)
CIE-LCHlch(38.16, 79.10, 310.59°)
OKLaboklab(48.97% 0.0937 -0.1714)
OKLCHoklch(48.97% 0.195 298.6)
XYZxyz(17.5855, 10.1775, 49.1722)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239BD #84BD39
analogous
#3942BD #7239BD #B439BD
triadic
#7239BD #BD7239 #39BD72
tetradic
#7239BD #BD3942 #84BD39 #39BDB4
square
#7239BD #BD3942 #84BD39 #39BDB4
split-complementary
#7239BD #BDB439 #42BD39
monochromatic
#391D5F #562B8E #7239BD #9263D0 #B392DE

Accessibility & contrast

On white

6.92
#7239BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7239BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239BD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239BD#FFFFFF#000000##FFFFFF
##7239BD1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#605977
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7239bd;
/* rgb */ color: rgb(114, 57, 189);
/* oklch */ color: oklch(49.0% 0.195 298.6);
Tailwind
colors: {
  custom: {
    50: '#a174d2',
    500: '#7239bd',
    950: '#000000',
  },
}
SCSS
$custom: #7239bd;
$custom-light: #a174d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7239bd",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 265.909,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.19537,
    "h": 298.6
  },
  "luminance": 0.10178
}

Semantic roles & 50–950 ramp

primary
#7239BD
secondary
#ADC989
accent
#DD4B9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #7239BD

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

Preview Lab → · Contrast checker → · Palette generator →

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