#7338A1#7338A1

#7338A1 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.166 H 306.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7338A1
RGBrgb(115, 56, 161)
HSLhsl(274, 48%, 43%)
HSVhsv(274, 65%, 63%)
CMYKcmyk(28.6%, 65.2%, 0%, 36.9%)
CIE-LABlab(36.07, 45.24, -46.79)
CIE-LCHlch(36.07, 65.09, 314.03°)
OKLaboklab(46.86% 0.0996 -0.1324)
OKLCHoklch(46.86% 0.166 306.9)
XYZxyz(14.9161, 9.0466, 34.6717)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338A1 #66A138
analogous
#3E38A1 #7338A1 #A1389B
triadic
#7338A1 #A17338 #38A173
tetradic
#7338A1 #A13E38 #66A138 #389BA1
square
#7338A1 #A13E38 #66A138 #389BA1
split-complementary
#7338A1 #9BA138 #38A13E
monochromatic
#321846 #532874 #7338A1 #9253C3 #AF80D3

Accessibility & contrast

On white

7.48
#7338A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7338A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7338A1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338A1#FFFFFF#000000##FFFFFF
##7338A11.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#22559F
Tritanopia (blue-blind)
#6C4E67
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7338a1;
/* rgb */ color: rgb(115, 56, 161);
/* oklch */ color: oklch(46.9% 0.166 306.9);
Tailwind
colors: {
  custom: {
    50: '#9f72bd',
    500: '#7338a1',
    950: '#000000',
  },
}
SCSS
$custom: #7338a1;
$custom-light: #9f72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7338a1",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 161
  },
  "hsl": {
    "h": 273.714,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46856,
    "c": 0.16565,
    "h": 306.9
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#7338A1
secondary
#96BC78
accent
#D8508B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7338A1

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

Preview Lab → · Contrast checker → · Palette generator →

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