#7338C4#7338C4

#7338C4 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.5% C 0.204 H 297.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7338C4
RGBrgb(115, 56, 196)
HSLhsl(265, 56%, 49%)
HSVhsv(265, 71%, 77%)
CMYKcmyk(41.3%, 71.4%, 0%, 23.1%)
CIE-LABlab(38.65, 53.91, -63.35)
CIE-LCHlch(38.65, 83.19, 310.39°)
OKLaboklab(49.51% 0.0948 -0.1811)
OKLCHoklch(49.51% 0.204 297.6)
XYZxyz(18.4456, 10.4584, 53.2607)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338C4 #89C438
analogous
#3843C4 #7338C4 #B938C4
triadic
#7338C4 #C47338 #38C473
tetradic
#7338C4 #C43843 #89C438 #38C4B9
square
#7338C4 #C43843 #89C438 #38C4B9
split-complementary
#7338C4 #C4B938 #43C438
monochromatic
#3B1D65 #572A94 #7338C4 #9466D3 #B596E1

Accessibility & contrast

On white

6.79
#7338C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7338C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338C4
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338C4#FFFFFF#000000##FFFFFF
##7338C41.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#5F5B7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7338c4;
/* rgb */ color: rgb(115, 56, 196);
/* oklch */ color: oklch(49.5% 0.204 297.6);
Tailwind
colors: {
  custom: {
    50: '#a274d7',
    500: '#7338c4',
    950: '#000000',
  },
}
SCSS
$custom: #7338c4;
$custom-light: #a274d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7338c4",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 265.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49513,
    "c": 0.20439,
    "h": 297.6
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#7338C4
secondary
#B1CC8C
accent
#DF49A0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7338C4

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

Preview Lab → · Contrast checker → · Palette generator →

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