#7338C8#7338C8

#7338C8 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.209 H 296.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7338C8
RGBrgb(115, 56, 200)
HSLhsl(265, 57%, 50%)
HSVhsv(265, 72%, 78%)
CMYKcmyk(42.5%, 72%, 0%, 21.6%)
CIE-LABlab(38.97, 54.93, -65.16)
CIE-LCHlch(38.97, 85.22, 310.13°)
OKLaboklab(49.84% 0.094 -0.1864)
OKLCHoklch(49.84% 0.209 296.8)
XYZxyz(18.9070, 10.6429, 55.6905)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338C8 #8DC838
analogous
#3845C8 #7338C8 #BB38C8
triadic
#7338C8 #C87338 #38C873
tetradic
#7338C8 #C83845 #8DC838 #38C8BB
square
#7338C8 #C83845 #8DC838 #38C8BB
split-complementary
#7338C8 #C8BB38 #45C838
monochromatic
#3C1D69 #572A99 #7338C8 #9568D5 #B698E3

Accessibility & contrast

On white

6.71
#7338C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7338C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338C8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338C8#FFFFFF#000000##FFFFFF
##7338C81.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#5D5D7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7338c8;
/* rgb */ color: rgb(115, 56, 200);
/* oklch */ color: oklch(49.8% 0.209 296.8);
Tailwind
colors: {
  custom: {
    50: '#a274da',
    500: '#7338c8',
    950: '#000000',
  },
}
SCSS
$custom: #7338c8;
$custom-light: #a274da;
$custom-dark: #000000;
JSON
{
  "hex": "#7338c8",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 264.583,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.20875,
    "h": 296.8
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#7338C8
secondary
#B4CE8E
accent
#E048A2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7338C8

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

Preview Lab → · Contrast checker → · Palette generator →

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