#7338CD#7338CD

#7338CD is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.214 H 295.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7338CD
RGBrgb(115, 56, 205)
HSLhsl(264, 60%, 51%)
HSVhsv(264, 73%, 80%)
CMYKcmyk(43.9%, 72.7%, 0%, 19.6%)
CIE-LABlab(39.38, 56.20, -67.41)
CIE-LCHlch(39.38, 87.76, 309.82°)
OKLaboklab(50.25% 0.0929 -0.193)
OKLCHoklch(50.25% 0.214 295.7)
XYZxyz(19.5009, 10.8805, 58.8185)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338CD #92CD38
analogous
#3847CD #7338CD #BD38CD
triadic
#7338CD #CD7338 #38CD73
tetradic
#7338CD #CD3847 #92CD38 #38CDBD
square
#7338CD #CD3847 #92CD38 #38CDBD
split-complementary
#7338CD #CDBD38 #47CD38
monochromatic
#3D1C6F #5728A0 #7338CD #9569D9 #B89AE6

Accessibility & contrast

On white

6.61
#7338CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7338CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338CD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338CD#FFFFFF#000000##FFFFFF
##7338CD1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#5A5F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7338cd;
/* rgb */ color: rgb(115, 56, 205);
/* oklch */ color: oklch(50.3% 0.214 295.7);
Tailwind
colors: {
  custom: {
    50: '#a374dd',
    500: '#7338cd',
    950: '#000000',
  },
}
SCSS
$custom: #7338cd;
$custom-light: #a374dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7338cd",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 263.758,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50252,
    "c": 0.21418,
    "h": 295.7
  },
  "luminance": 0.10881
}

Semantic roles & 50–950 ramp

primary
#7338CD
secondary
#B7D18F
accent
#E345A4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7338CD

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

Preview Lab → · Contrast checker → · Palette generator →

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