#7338BE#7338BE

#7338BE is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.198 H 299.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7338BE
RGBrgb(115, 56, 190)
HSLhsl(266, 54%, 48%)
HSVhsv(266, 71%, 75%)
CMYKcmyk(39.5%, 70.5%, 0%, 25.5%)
CIE-LABlab(38.18, 52.39, -60.61)
CIE-LCHlch(38.18, 80.12, 310.84°)
OKLaboklab(49.03% 0.0959 -0.173)
OKLCHoklch(49.03% 0.198 299)
XYZxyz(17.7763, 10.1907, 49.7357)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338BE #83BE38
analogous
#3840BE #7338BE #B638BE
triadic
#7338BE #BE7338 #38BE73
tetradic
#7338BE #BE3840 #83BE38 #38BEB6
square
#7338BE #BE3840 #83BE38 #38BEB6
split-complementary
#7338BE #BEB638 #40BE38
monochromatic
#3A1C5F #562A8F #7338BE #9362D1 #B492DF

Accessibility & contrast

On white

6.91
#7338BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7338BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338BE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338BE#FFFFFF#000000##FFFFFF
##7338BE1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#615977
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7338be;
/* rgb */ color: rgb(115, 56, 190);
/* oklch */ color: oklch(49.0% 0.198 299.0);
Tailwind
colors: {
  custom: {
    50: '#a173d3',
    500: '#7338be',
    950: '#000000',
  },
}
SCSS
$custom: #7338be;
$custom-light: #a173d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7338be",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 266.418,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49032,
    "c": 0.19782,
    "h": 299
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#7338BE
secondary
#ADCA88
accent
#DE4A9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7338BE

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

Preview Lab → · Contrast checker → · Palette generator →

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