#7239C0#7239C0

#7239C0 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.199 H 298.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7239C0
RGBrgb(114, 57, 192)
HSLhsl(265, 54%, 49%)
HSVhsv(265, 70%, 75%)
CMYKcmyk(40.6%, 70.3%, 0%, 24.7%)
CIE-LABlab(38.39, 52.23, -61.45)
CIE-LCHlch(38.39, 80.65, 310.36°)
OKLaboklab(49.2% 0.0932 -0.1755)
OKLCHoklch(49.2% 0.199 298)
XYZxyz(17.9145, 10.3091, 50.9050)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239C0 #87C039
analogous
#3944C0 #7239C0 #B639C0
triadic
#7239C0 #C07239 #39C072
tetradic
#7239C0 #C03944 #87C039 #39C0B6
square
#7239C0 #C03944 #87C039 #39C0B6
split-complementary
#7239C0 #C0B639 #44C039
monochromatic
#3A1D62 #562B91 #7239C0 #9365D1 #B494DF

Accessibility & contrast

On white

6.86
#7239C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7239C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239C0
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239C0#FFFFFF#000000##FFFFFF
##7239C01.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#5F5A78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7239c0;
/* rgb */ color: rgb(114, 57, 192);
/* oklch */ color: oklch(49.2% 0.199 298.0);
Tailwind
colors: {
  custom: {
    50: '#a174d4',
    500: '#7239c0',
    950: '#000000',
  },
}
SCSS
$custom: #7239c0;
$custom-light: #a174d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7239c0",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 265.333,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49203,
    "c": 0.1987,
    "h": 298
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#7239C0
secondary
#AFCB8A
accent
#DE4A9F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7239C0

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

Preview Lab → · Contrast checker → · Palette generator →

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