#7338D4#7338D4

#7338D4 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.222 H 294.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7338D4
RGBrgb(115, 56, 212)
HSLhsl(263, 64%, 53%)
HSVhsv(263, 74%, 83%)
CMYKcmyk(45.8%, 73.6%, 0%, 16.9%)
CIE-LABlab(39.96, 57.99, -70.50)
CIE-LCHlch(39.96, 91.29, 309.44°)
OKLaboklab(50.84% 0.0913 -0.2021)
OKLCHoklch(50.84% 0.222 294.3)
XYZxyz(20.3648, 11.2261, 63.3685)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338D4 #99D438
analogous
#384BD4 #7338D4 #C138D4
triadic
#7338D4 #D47338 #38D473
tetradic
#7338D4 #D4384B #99D438 #38D4C1
square
#7338D4 #D4384B #99D438 #38D4C1
split-complementary
#7338D4 #D4C138 #4BD438
monochromatic
#3D1A78 #5725AA #7338D4 #966ADF #BA9DEA

Accessibility & contrast

On white

6.47
#7338D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7338D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338D4
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338D4#FFFFFF#000000##FFFFFF
##7338D41.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#576183
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7338d4;
/* rgb */ color: rgb(115, 56, 212);
/* oklch */ color: oklch(50.8% 0.222 294.3);
Tailwind
colors: {
  custom: {
    50: '#a474e2',
    500: '#7338d4',
    950: '#000000',
  },
}
SCSS
$custom: #7338d4;
$custom-light: #a474e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7338d4",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 212
  },
  "hsl": {
    "h": 262.692,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50841,
    "c": 0.22175,
    "h": 294.3
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#7338D4
secondary
#BCD692
accent
#E740A8
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7338D4

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

Preview Lab → · Contrast checker → · Palette generator →

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