#7138C1#7138C1

#7138C1 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.201 H 297.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7138C1
RGBrgb(113, 56, 193)
HSLhsl(265, 55%, 49%)
HSVhsv(265, 71%, 76%)
CMYKcmyk(41.5%, 71%, 0%, 24.3%)
CIE-LABlab(38.18, 52.79, -62.38)
CIE-LCHlch(38.18, 81.72, 310.24°)
OKLaboklab(49.05% 0.0925 -0.1783)
OKLCHoklch(49.05% 0.201 297.4)
XYZxyz(17.8474, 10.1890, 51.4681)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7138C1 #88C138
analogous
#3843C1 #7138C1 #B638C1
triadic
#7138C1 #C17138 #38C171
tetradic
#7138C1 #C13843 #88C138 #38C1B6
square
#7138C1 #C13843 #88C138 #38C1B6
split-complementary
#7138C1 #C1B638 #43C138
monochromatic
#391C62 #552A92 #7138C1 #9264D2 #B394E0

Accessibility & contrast

On white

6.91
#7138C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7138C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7138C1
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7138C1#FFFFFF#000000##FFFFFF
##7138C11.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)
#005AC5
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#5D5A79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7138c1;
/* rgb */ color: rgb(113, 56, 193);
/* oklch */ color: oklch(49.0% 0.201 297.4);
Tailwind
colors: {
  custom: {
    50: '#a073d5',
    500: '#7138c1',
    950: '#000000',
  },
}
SCSS
$custom: #7138c1;
$custom-light: #a073d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7138c1",
  "rgb": {
    "r": 113,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 264.964,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.20087,
    "h": 297.4
  },
  "luminance": 0.10189
}

Semantic roles & 50–950 ramp

primary
#7138C1
secondary
#B0CB8A
accent
#DE49A0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7138C1

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

Preview Lab → · Contrast checker → · Palette generator →

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