#7239BE#7239BE

#7239BE is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.196 H 298.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7239BE
RGBrgb(114, 57, 190)
HSLhsl(266, 54%, 48%)
HSVhsv(266, 70%, 75%)
CMYKcmyk(40%, 70%, 0%, 25.5%)
CIE-LABlab(38.24, 51.72, -60.53)
CIE-LCHlch(38.24, 79.62, 310.51°)
OKLaboklab(49.04% 0.0935 -0.1728)
OKLCHoklch(49.04% 0.196 298.4)
XYZxyz(17.6945, 10.2211, 49.7458)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239BE #85BE39
analogous
#3943BE #7239BE #B439BE
triadic
#7239BE #BE7239 #39BE72
tetradic
#7239BE #BE3943 #85BE39 #39BEB4
square
#7239BE #BE3943 #85BE39 #39BEB4
split-complementary
#7239BE #BEB439 #43BE39
monochromatic
#3A1D60 #562B8F #7239BE #9264D0 #B393DF

Accessibility & contrast

On white

6.90
#7239BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7239BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239BE
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239BE#FFFFFF#000000##FFFFFF
##7239BE1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#605977
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7239be;
/* rgb */ color: rgb(114, 57, 190);
/* oklch */ color: oklch(49.0% 0.196 298.4);
Tailwind
colors: {
  custom: {
    50: '#a174d2',
    500: '#7239be',
    950: '#000000',
  },
}
SCSS
$custom: #7239be;
$custom-light: #a174d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7239be",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 265.714,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49044,
    "c": 0.19647,
    "h": 298.4
  },
  "luminance": 0.10221
}

Semantic roles & 50–950 ramp

primary
#7239BE
secondary
#AECA89
accent
#DD4B9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #7239BE

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

Preview Lab → · Contrast checker → · Palette generator →

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