#7239B2#7239B2

#7239B2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.183 H 301.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7239B2
RGBrgb(114, 57, 178)
HSLhsl(268, 51%, 46%)
HSVhsv(268, 68%, 70%)
CMYKcmyk(36%, 68%, 0%, 30.2%)
CIE-LABlab(37.33, 48.69, -54.92)
CIE-LCHlch(37.33, 73.40, 311.56°)
OKLaboklab(48.11% 0.0953 -0.1563)
OKLCHoklch(48.11% 0.183 301.4)
XYZxyz(16.4365, 9.7179, 43.1207)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239B2 #79B239
analogous
#393DB2 #7239B2 #AE39B2
triadic
#7239B2 #B27239 #39B272
tetradic
#7239B2 #B2393D #79B239 #39B2AE
square
#7239B2 #B2393D #79B239 #39B2AE
split-complementary
#7239B2 #B2AE39 #3DB239
monochromatic
#371B55 #542A84 #7239B2 #915DCB #B08BDA

Accessibility & contrast

On white

7.13
#7239B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7239B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7239B2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239B2#FFFFFF#000000##FFFFFF
##7239B21.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7239b2;
/* rgb */ color: rgb(114, 57, 178);
/* oklch */ color: oklch(48.1% 0.183 301.4);
Tailwind
colors: {
  custom: {
    50: '#a073ca',
    500: '#7239b2',
    950: '#000000',
  },
}
SCSS
$custom: #7239b2;
$custom-light: #a073ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7239b2",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 268.264,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48113,
    "c": 0.18309,
    "h": 301.4
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#7239B2
secondary
#A5C482
accent
#DB4D98
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7239B2

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

Preview Lab → · Contrast checker → · Palette generator →

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