#7239BF#7239BF

#7239BF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.198 H 298.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7239BF
RGBrgb(114, 57, 191)
HSLhsl(266, 54%, 49%)
HSVhsv(266, 70%, 75%)
CMYKcmyk(40.3%, 70.2%, 0%, 25.1%)
CIE-LABlab(38.31, 51.97, -60.99)
CIE-LCHlch(38.31, 80.13, 310.44°)
OKLaboklab(49.12% 0.0933 -0.1742)
OKLCHoklch(49.12% 0.198 298.2)
XYZxyz(17.8041, 10.2650, 50.3234)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7239BF #86BF39
analogous
#3943BF #7239BF #B539BF
triadic
#7239BF #BF7239 #39BF72
tetradic
#7239BF #BF3943 #86BF39 #39BFB5
square
#7239BF #BF3943 #86BF39 #39BFB5
split-complementary
#7239BF #BFB539 #43BF39
monochromatic
#3A1D61 #562B90 #7239BF #9364D1 #B493DF

Accessibility & contrast

On white

6.88
#7239BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7239BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7239BF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7239BF#FFFFFF#000000##FFFFFF
##7239BF1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7239bf;
/* rgb */ color: rgb(114, 57, 191);
/* oklch */ color: oklch(49.1% 0.198 298.2);
Tailwind
colors: {
  custom: {
    50: '#a174d3',
    500: '#7239bf',
    950: '#000000',
  },
}
SCSS
$custom: #7239bf;
$custom-light: #a174d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7239bf",
  "rgb": {
    "r": 114,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 265.522,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49123,
    "c": 0.19759,
    "h": 298.2
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#7239BF
secondary
#AFCA8A
accent
#DD4A9F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7239BF

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

Preview Lab → · Contrast checker → · Palette generator →

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