#7239B5#7239B5

#7239B5 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.186 H 300.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7239B5
RGBrgb(114, 57, 181)
HSLhsl(268, 52%, 47%)
HSVhsv(268, 69%, 71%)
CMYKcmyk(37%, 68.5%, 0%, 29%)
CIE-LABlab(37.55, 49.44, -56.34)
CIE-LCHlch(37.55, 74.96, 311.27°)
OKLaboklab(48.34% 0.0949 -0.1605)
OKLCHoklch(48.34% 0.186 300.6)
XYZxyz(16.7410, 9.8397, 44.7244)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239B5 #7CB539
analogous
#393EB5 #7239B5 #B039B5
triadic
#7239B5 #B57239 #39B572
tetradic
#7239B5 #B5393E #7CB539 #39B5B0
square
#7239B5 #B5393E #7CB539 #39B5B0
split-complementary
#7239B5 #B5B039 #3EB539
monochromatic
#371C58 #552A86 #7239B5 #915FCD #B18DDB

Accessibility & contrast

On white

7.08
#7239B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7239B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7239B5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239B5#FFFFFF#000000##FFFFFF
##7239B51.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#635672
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7239b5;
/* rgb */ color: rgb(114, 57, 181);
/* oklch */ color: oklch(48.3% 0.186 300.6);
Tailwind
colors: {
  custom: {
    50: '#a074cc',
    500: '#7239b5',
    950: '#000000',
  },
}
SCSS
$custom: #7239b5;
$custom-light: #a074cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7239b5",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 267.581,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.18646,
    "h": 300.6
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#7239B5
secondary
#A8C684
accent
#DC4C9A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7239B5

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

Preview Lab → · Contrast checker → · Palette generator →

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