#7338C2#7338C2

#7338C2 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.202 H 298.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7338C2
RGBrgb(115, 56, 194)
HSLhsl(266, 55%, 49%)
HSVhsv(266, 71%, 76%)
CMYKcmyk(40.7%, 71.1%, 0%, 23.9%)
CIE-LABlab(38.49, 53.40, -62.44)
CIE-LCHlch(38.49, 82.17, 310.54°)
OKLaboklab(49.35% 0.0952 -0.1784)
OKLCHoklch(49.35% 0.202 298.1)
XYZxyz(18.2195, 10.3679, 52.0698)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338C2 #87C238
analogous
#3842C2 #7338C2 #B838C2
triadic
#7338C2 #C27338 #38C273
tetradic
#7338C2 #C23842 #87C238 #38C2B8
square
#7338C2 #C23842 #87C238 #38C2B8
split-complementary
#7338C2 #C2B838 #42C238
monochromatic
#3B1D63 #572A93 #7338C2 #9465D2 #B594E0

Accessibility & contrast

On white

6.83
#7338C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7338C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338C2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338C2#FFFFFF#000000##FFFFFF
##7338C21.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#605A79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7338c2;
/* rgb */ color: rgb(115, 56, 194);
/* oklch */ color: oklch(49.4% 0.202 298.1);
Tailwind
colors: {
  custom: {
    50: '#a274d5',
    500: '#7338c2',
    950: '#000000',
  },
}
SCSS
$custom: #7338c2;
$custom-light: #a274d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7338c2",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 265.652,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49352,
    "c": 0.2022,
    "h": 298.1
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#7338C2
secondary
#B0CB8A
accent
#DF499F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7338C2

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

Preview Lab → · Contrast checker → · Palette generator →

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