#7338BF#7338BF

#7338BF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.199 H 298.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7338BF
RGBrgb(115, 56, 191)
HSLhsl(266, 55%, 48%)
HSVhsv(266, 71%, 75%)
CMYKcmyk(39.8%, 70.7%, 0%, 25.1%)
CIE-LABlab(38.26, 52.64, -61.07)
CIE-LCHlch(38.26, 80.63, 310.76°)
OKLaboklab(49.11% 0.0957 -0.1744)
OKLCHoklch(49.11% 0.199 298.8)
XYZxyz(17.8860, 10.2345, 50.3132)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338BF #84BF38
analogous
#3840BF #7338BF #B638BF
triadic
#7338BF #BF7338 #38BF73
tetradic
#7338BF #BF3840 #84BF38 #38BFB6
square
#7338BF #BF3840 #84BF38 #38BFB6
split-complementary
#7338BF #BFB638 #40BF38
monochromatic
#3A1C60 #572A90 #7338BF #9363D1 #B492DF

Accessibility & contrast

On white

6.89
#7338BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7338BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338BF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338BF#FFFFFF#000000##FFFFFF
##7338BF1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#615978
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7338bf;
/* rgb */ color: rgb(115, 56, 191);
/* oklch */ color: oklch(49.1% 0.199 298.8);
Tailwind
colors: {
  custom: {
    50: '#a173d3',
    500: '#7338bf',
    950: '#000000',
  },
}
SCSS
$custom: #7338bf;
$custom-light: #a173d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7338bf",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 266.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.19891,
    "h": 298.8
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7338BF

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

Preview Lab → · Contrast checker → · Palette generator →

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