#7239BA#7239BA

#7239BA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.192 H 299.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7239BA
RGBrgb(114, 57, 186)
HSLhsl(267, 53%, 48%)
HSVhsv(267, 69%, 73%)
CMYKcmyk(38.7%, 69.4%, 0%, 27.1%)
CIE-LABlab(37.93, 50.71, -58.68)
CIE-LCHlch(37.93, 77.55, 310.83°)
OKLaboklab(48.73% 0.0942 -0.1674)
OKLCHoklch(48.73% 0.192 299.4)
XYZxyz(17.2633, 10.0486, 47.4749)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239BA #81BA39
analogous
#3940BA #7239BA #B339BA
triadic
#7239BA #BA7239 #39BA72
tetradic
#7239BA #BA3940 #81BA39 #39BAB3
square
#7239BA #BA3940 #81BA39 #39BAB3
split-complementary
#7239BA #BAB339 #40BA39
monochromatic
#391C5C #552B8B #7239BA #9261CF #B290DD

Accessibility & contrast

On white

6.98
#7239BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7239BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239BA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239BA#FFFFFF#000000##FFFFFF
##7239BA1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#615875
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7239ba;
/* rgb */ color: rgb(114, 57, 186);
/* oklch */ color: oklch(48.7% 0.192 299.4);
Tailwind
colors: {
  custom: {
    50: '#a074d0',
    500: '#7239ba',
    950: '#000000',
  },
}
SCSS
$custom: #7239ba;
$custom-light: #a074d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7239ba",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 266.512,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.19203,
    "h": 299.4
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#7239BA
secondary
#ABC887
accent
#DC4B9C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7239BA

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

Preview Lab → · Contrast checker → · Palette generator →

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