#7338AE#7338AE

#7338AE is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.180 H 303.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7338AE
RGBrgb(115, 56, 174)
HSLhsl(270, 51%, 45%)
HSVhsv(270, 68%, 68%)
CMYKcmyk(33.9%, 67.8%, 0%, 31.8%)
CIE-LABlab(36.98, 48.40, -53.10)
CIE-LCHlch(36.98, 71.85, 312.35°)
OKLaboklab(47.8% 0.0983 -0.1509)
OKLCHoklch(47.8% 0.18 303.1)
XYZxyz(16.1226, 9.5292, 41.0261)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338AE #73AE38
analogous
#3838AE #7338AE #AE38AE
triadic
#7338AE #AE7338 #38AE73
tetradic
#7338AE #AE3838 #73AE38 #38AEAE
square
#7338AE #AE3838 #73AE38 #38AEAE
split-complementary
#7338AE #AEAE38 #38AE38
monochromatic
#361A51 #542980 #7338AE #9259CA #B088D9

Accessibility & contrast

On white

7.23
#7338AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7338AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7338AE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338AE#FFFFFF#000000##FFFFFF
##7338AE1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0257AB
Tritanopia (blue-blind)
#67536E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7338ae;
/* rgb */ color: rgb(115, 56, 174);
/* oklch */ color: oklch(47.8% 0.180 303.1);
Tailwind
colors: {
  custom: {
    50: '#a073c7',
    500: '#7338ae',
    950: '#000000',
  },
}
SCSS
$custom: #7338ae;
$custom-light: #a073c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7338ae",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 270,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.478,
    "c": 0.18014,
    "h": 303.1
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#7338AE
secondary
#A1C37F
accent
#DB4D94
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7338AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7338AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva