#7138BF#7138BF

#7138BF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.199 H 297.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7138BF
RGBrgb(113, 56, 191)
HSLhsl(265, 55%, 48%)
HSVhsv(265, 71%, 75%)
CMYKcmyk(40.8%, 70.7%, 0%, 25.1%)
CIE-LABlab(38.02, 52.27, -61.47)
CIE-LCHlch(38.02, 80.69, 310.38°)
OKLaboklab(48.89% 0.0929 -0.1756)
OKLCHoklch(48.89% 0.199 297.9)
XYZxyz(17.6258, 10.1004, 50.3010)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7138BF #86BF38
analogous
#3843BF #7138BF #B438BF
triadic
#7138BF #BF7138 #38BF71
tetradic
#7138BF #BF3843 #86BF38 #38BFB4
square
#7138BF #BF3843 #86BF38 #38BFB4
split-complementary
#7138BF #BFB438 #43BF38
monochromatic
#391C60 #552A90 #7138BF #9263D1 #B392DF

Accessibility & contrast

On white

6.95
#7138BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7138BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7138BF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7138BF#FFFFFF#000000##FFFFFF
##7138BF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#5E5978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7138bf;
/* rgb */ color: rgb(113, 56, 191);
/* oklch */ color: oklch(48.9% 0.199 297.9);
Tailwind
colors: {
  custom: {
    50: '#a073d3',
    500: '#7138bf',
    950: '#000000',
  },
}
SCSS
$custom: #7138bf;
$custom-light: #a073d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7138bf",
  "rgb": {
    "r": 113,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 265.333,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48889,
    "c": 0.19866,
    "h": 297.9
  },
  "luminance": 0.10101
}

Semantic roles & 50–950 ramp

primary
#7138BF
secondary
#AECA89
accent
#DE4A9F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #7138BF

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

Preview Lab → · Contrast checker → · Palette generator →

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