#7239BC#7239BC

#7239BC is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.194 H 298.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7239BC
RGBrgb(114, 57, 188)
HSLhsl(266, 53%, 48%)
HSVhsv(266, 70%, 74%)
CMYKcmyk(39.4%, 69.7%, 0%, 26.3%)
CIE-LABlab(38.08, 51.21, -59.60)
CIE-LCHlch(38.08, 78.58, 310.67°)
OKLaboklab(48.89% 0.0938 -0.1701)
OKLCHoklch(48.89% 0.194 298.9)
XYZxyz(17.4774, 10.1343, 48.6025)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239BC #83BC39
analogous
#3941BC #7239BC #B339BC
triadic
#7239BC #BC7239 #39BC72
tetradic
#7239BC #BC3941 #83BC39 #39BCB3
square
#7239BC #BC3941 #83BC39 #39BCB3
split-complementary
#7239BC #BCB339 #41BC39
monochromatic
#391D5E #562B8D #7239BC #9263D0 #B392DE

Accessibility & contrast

On white

6.94
#7239BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7239BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239BC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239BC#FFFFFF#000000##FFFFFF
##7239BC1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#605976
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7239bc;
/* rgb */ color: rgb(114, 57, 188);
/* oklch */ color: oklch(48.9% 0.194 298.9);
Tailwind
colors: {
  custom: {
    50: '#a074d1',
    500: '#7239bc',
    950: '#000000',
  },
}
SCSS
$custom: #7239bc;
$custom-light: #a074d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7239bc",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 266.107,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.19426,
    "h": 298.9
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#7239BC
secondary
#ADC988
accent
#DD4B9D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7239BC

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

Preview Lab → · Contrast checker → · Palette generator →

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