#7338A2#7338A2

#7338A2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.167 H 306.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7338A2
RGBrgb(115, 56, 162)
HSLhsl(273, 49%, 43%)
HSVhsv(273, 65%, 64%)
CMYKcmyk(29%, 65.4%, 0%, 36.5%)
CIE-LABlab(36.14, 45.48, -47.28)
CIE-LCHlch(36.14, 65.61, 313.89°)
OKLaboklab(46.93% 0.0995 -0.1338)
OKLCHoklch(46.93% 0.167 306.6)
XYZxyz(15.0046, 9.0820, 35.1380)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338A2 #67A238
analogous
#3E38A2 #7338A2 #A2389C
triadic
#7338A2 #A27338 #38A273
tetradic
#7338A2 #A23E38 #67A238 #389CA2
square
#7338A2 #A23E38 #67A238 #389CA2
split-complementary
#7338A2 #9CA238 #38A23E
monochromatic
#321947 #532875 #7338A2 #9253C4 #AF81D3

Accessibility & contrast

On white

7.46
#7338A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7338A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7338A2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338A2#FFFFFF#000000##FFFFFF
##7338A21.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#2055A0
Tritanopia (blue-blind)
#6B4E68
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7338a2;
/* rgb */ color: rgb(115, 56, 162);
/* oklch */ color: oklch(46.9% 0.167 306.6);
Tailwind
colors: {
  custom: {
    50: '#9f72be',
    500: '#7338a2',
    950: '#000000',
  },
}
SCSS
$custom: #7338a2;
$custom-light: #9f72be;
$custom-dark: #000000;
JSON
{
  "hex": "#7338a2",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 273.396,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46927,
    "c": 0.16677,
    "h": 306.6
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#7338A2
secondary
#97BD79
accent
#D8508C
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7338A2

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

Preview Lab → · Contrast checker → · Palette generator →

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