#7338C1#7338C1

#7338C1 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.201 H 298.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7338C1
RGBrgb(115, 56, 193)
HSLhsl(266, 55%, 49%)
HSVhsv(266, 71%, 76%)
CMYKcmyk(40.4%, 71%, 0%, 24.3%)
CIE-LABlab(38.42, 53.15, -61.99)
CIE-LCHlch(38.42, 81.65, 310.61°)
OKLaboklab(49.27% 0.0954 -0.1771)
OKLCHoklch(49.27% 0.201 298.3)
XYZxyz(18.1076, 10.3232, 51.4803)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338C1 #86C138
analogous
#3842C1 #7338C1 #B838C1
triadic
#7338C1 #C17338 #38C173
tetradic
#7338C1 #C13842 #86C138 #38C1B8
square
#7338C1 #C13842 #86C138 #38C1B8
split-complementary
#7338C1 #C1B838 #42C138
monochromatic
#3A1C62 #572A92 #7338C1 #9364D2 #B494E0

Accessibility & contrast

On white

6.85
#7338C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7338C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338C1
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338C1#FFFFFF#000000##FFFFFF
##7338C11.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#605A79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7338c1;
/* rgb */ color: rgb(115, 56, 193);
/* oklch */ color: oklch(49.3% 0.201 298.3);
Tailwind
colors: {
  custom: {
    50: '#a273d5',
    500: '#7338c1',
    950: '#000000',
  },
}
SCSS
$custom: #7338c1;
$custom-light: #a273d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7338c1",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 265.839,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49272,
    "c": 0.20111,
    "h": 298.3
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#7338C1
secondary
#AFCB8A
accent
#DE499E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7338C1

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

Preview Lab → · Contrast checker → · Palette generator →

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