#7538BC#7538BC

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

Color values

HEX#7538BC
RGBrgb(117, 56, 188)
HSLhsl(268, 54%, 48%)
HSVhsv(268, 70%, 74%)
CMYKcmyk(37.8%, 70.2%, 0%, 26.3%)
CIE-LABlab(38.27, 52.27, -59.28)
CIE-LCHlch(38.27, 79.03, 311.40°)
OKLaboklab(49.1% 0.0991 -0.169)
OKLCHoklch(49.1% 0.196 300.4)
XYZxyz(17.8252, 10.2409, 48.6048)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538BC #7FBC38
analogous
#383DBC #7538BC #B738BC
triadic
#7538BC #BC7538 #38BC75
tetradic
#7538BC #BC383D #7FBC38 #38BCB7
square
#7538BC #BC383D #7FBC38 #38BCB7
split-complementary
#7538BC #BCB738 #3DBC38
monochromatic
#3A1C5E #582A8D #7538BC #9461D0 #B490DE

Accessibility & contrast

On white

6.89
#7538BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7538BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7538BC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538BC#FFFFFF#000000##FFFFFF
##7538BC1.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)
#005AC0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#655876
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7538bc;
/* rgb */ color: rgb(117, 56, 188);
/* oklch */ color: oklch(49.1% 0.196 300.4);
Tailwind
colors: {
  custom: {
    50: '#a273d1',
    500: '#7538bc',
    950: '#000000',
  },
}
SCSS
$custom: #7538bc;
$custom-light: #a273d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7538bc",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 267.727,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.19593,
    "h": 300.4
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#7538BC
secondary
#AAC987
accent
#DD4A99
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7538BC

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

Preview Lab → · Contrast checker → · Palette generator →

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