#7538BB#7538BB

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

Color values

HEX#7538BB
RGBrgb(117, 56, 187)
HSLhsl(268, 54%, 48%)
HSVhsv(268, 70%, 73%)
CMYKcmyk(37.4%, 70.1%, 0%, 26.7%)
CIE-LABlab(38.20, 52.02, -58.82)
CIE-LCHlch(38.20, 78.52, 311.49°)
OKLaboklab(49.02% 0.0992 -0.1677)
OKLCHoklch(49.02% 0.195 300.6)
XYZxyz(17.7177, 10.1980, 48.0390)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538BB #7EBB38
analogous
#383DBB #7538BB #B638BB
triadic
#7538BB #BB7538 #38BB75
tetradic
#7538BB #BB383D #7EBB38 #38BBB6
square
#7538BB #BB383D #7EBB38 #38BBB6
split-complementary
#7538BB #BBB638 #3DBB38
monochromatic
#3A1C5D #582A8C #7538BB #9461D0 #B490DE

Accessibility & contrast

On white

6.91
#7538BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7538BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7538BB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538BB#FFFFFF#000000##FFFFFF
##7538BB1.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)
#0059BF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#655775
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7538bb;
/* rgb */ color: rgb(117, 56, 187);
/* oklch */ color: oklch(49.0% 0.195 300.6);
Tailwind
colors: {
  custom: {
    50: '#a273d0',
    500: '#7538bb',
    950: '#000000',
  },
}
SCSS
$custom: #7538bb;
$custom-light: #a273d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7538bb",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 267.939,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.19483,
    "h": 300.6
  },
  "luminance": 0.10198
}

Semantic roles & 50–950 ramp

primary
#7538BB
secondary
#AAC886
accent
#DD4B99
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7538BB

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

Preview Lab → · Contrast checker → · Palette generator →

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