#7538BF#7538BF

#7538BF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.3% C 0.199 H 299.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7538BF
RGBrgb(117, 56, 191)
HSLhsl(267, 55%, 48%)
HSVhsv(267, 71%, 75%)
CMYKcmyk(38.7%, 70.7%, 0%, 25.1%)
CIE-LABlab(38.50, 53.02, -60.67)
CIE-LCHlch(38.50, 80.57, 311.15°)
OKLaboklab(49.34% 0.0986 -0.1731)
OKLCHoklch(49.34% 0.199 299.7)
XYZxyz(18.1519, 10.3716, 50.3257)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538BF #82BF38
analogous
#383EBF #7538BF #B838BF
triadic
#7538BF #BF7538 #38BF75
tetradic
#7538BF #BF383E #82BF38 #38BFB8
square
#7538BF #BF383E #82BF38 #38BFB8
split-complementary
#7538BF #BFB838 #3EBF38
monochromatic
#3B1C60 #582A90 #7538BF #9563D1 #B592DF

Accessibility & contrast

On white

6.83
#7538BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7538BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7538BF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538BF#FFFFFF#000000##FFFFFF
##7538BF1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#645978
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7538bf;
/* rgb */ color: rgb(117, 56, 191);
/* oklch */ color: oklch(49.3% 0.199 299.7);
Tailwind
colors: {
  custom: {
    50: '#a374d3',
    500: '#7538bf',
    950: '#000000',
  },
}
SCSS
$custom: #7538bf;
$custom-light: #a374d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7538bf",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 267.111,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.1992,
    "h": 299.7
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#7538BF
secondary
#ADCA89
accent
#DE4A9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7538BF

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

Preview Lab → · Contrast checker → · Palette generator →

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