#7239B3#7239B3

#7239B3 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.184 H 301.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7239B3
RGBrgb(114, 57, 179)
HSLhsl(268, 52%, 46%)
HSVhsv(268, 68%, 70%)
CMYKcmyk(36.3%, 68.2%, 0%, 29.8%)
CIE-LABlab(37.40, 48.94, -55.39)
CIE-LCHlch(37.40, 73.92, 311.46°)
OKLaboklab(48.19% 0.0952 -0.1577)
OKLCHoklch(48.19% 0.184 301.1)
XYZxyz(16.5373, 9.7582, 43.6514)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239B3 #7AB339
analogous
#393DB3 #7239B3 #AF39B3
triadic
#7239B3 #B37239 #39B372
tetradic
#7239B3 #B3393D #7AB339 #39B3AF
square
#7239B3 #B3393D #7AB339 #39B3AF
split-complementary
#7239B3 #B3AF39 #3DB339
monochromatic
#371B56 #542A85 #7239B3 #915ECC #B18CDA

Accessibility & contrast

On white

7.11
#7239B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7239B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7239B3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239B3#FFFFFF#000000##FFFFFF
##7239B31.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#645571
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7239b3;
/* rgb */ color: rgb(114, 57, 179);
/* oklch */ color: oklch(48.2% 0.184 301.1);
Tailwind
colors: {
  custom: {
    50: '#a073cb',
    500: '#7239b3',
    950: '#000000',
  },
}
SCSS
$custom: #7239b3;
$custom-light: #a073cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7239b3",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 268.033,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48189,
    "c": 0.18422,
    "h": 301.1
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

primary
#7239B3
secondary
#A6C583
accent
#DB4D99
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7239B3

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

Preview Lab → · Contrast checker → · Palette generator →

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