#7538BE#7538BE

#7538BE is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.198 H 299.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7538BE
RGBrgb(117, 56, 190)
HSLhsl(267, 54%, 48%)
HSVhsv(267, 71%, 75%)
CMYKcmyk(38.4%, 70.5%, 0%, 25.5%)
CIE-LABlab(38.42, 52.77, -60.21)
CIE-LCHlch(38.42, 80.06, 311.23°)
OKLaboklab(49.26% 0.0987 -0.1718)
OKLCHoklch(49.26% 0.198 299.9)
XYZxyz(18.0422, 10.3278, 49.7481)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538BE #81BE38
analogous
#383EBE #7538BE #B838BE
triadic
#7538BE #BE7538 #38BE75
tetradic
#7538BE #BE383E #81BE38 #38BEB8
square
#7538BE #BE383E #81BE38 #38BEB8
split-complementary
#7538BE #BEB838 #3EBE38
monochromatic
#3B1C5F #582A8F #7538BE #9562D1 #B592DF

Accessibility & contrast

On white

6.85
#7538BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7538BE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538BE#FFFFFF#000000##FFFFFF
##7538BE1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7538be;
/* rgb */ color: rgb(117, 56, 190);
/* oklch */ color: oklch(49.3% 0.198 299.9);
Tailwind
colors: {
  custom: {
    50: '#a374d2',
    500: '#7538be',
    950: '#000000',
  },
}
SCSS
$custom: #7538be;
$custom-light: #a374d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7538be",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 267.313,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.19811,
    "h": 299.9
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7538BE

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

Preview Lab → · Contrast checker → · Palette generator →

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