#7239C1#7239C1

#7239C1 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.3% C 0.200 H 297.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7239C1
RGBrgb(114, 57, 193)
HSLhsl(265, 54%, 49%)
HSVhsv(265, 70%, 76%)
CMYKcmyk(40.9%, 70.5%, 0%, 24.3%)
CIE-LABlab(38.47, 52.49, -61.91)
CIE-LCHlch(38.47, 81.16, 310.29°)
OKLaboklab(49.28% 0.093 -0.1768)
OKLCHoklch(49.28% 0.2 297.7)
XYZxyz(18.0257, 10.3536, 51.4905)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239C1 #88C139
analogous
#3944C1 #7239C1 #B639C1
triadic
#7239C1 #C17239 #39C172
tetradic
#7239C1 #C13944 #88C139 #39C1B6
square
#7239C1 #C13944 #88C139 #39C1B6
split-complementary
#7239C1 #C1B639 #44C139
monochromatic
#3A1D63 #562B92 #7239C1 #9366D2 #B495E0

Accessibility & contrast

On white

6.84
#7239C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7239C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239C1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239C1#FFFFFF#000000##FFFFFF
##7239C11.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#5E5B79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7239c1;
/* rgb */ color: rgb(114, 57, 193);
/* oklch */ color: oklch(49.3% 0.200 297.7);
Tailwind
colors: {
  custom: {
    50: '#a174d5',
    500: '#7239c1',
    950: '#000000',
  },
}
SCSS
$custom: #7239c1;
$custom-light: #a174d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7239c1",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 265.147,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.1998,
    "h": 297.7
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#7239C1
secondary
#B0CB8B
accent
#DE4AA0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7239C1

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

Preview Lab → · Contrast checker → · Palette generator →

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