#7138C8#7138C8

#7138C8 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.209 H 295.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7138C8
RGBrgb(113, 56, 200)
HSLhsl(264, 57%, 50%)
HSVhsv(264, 72%, 78%)
CMYKcmyk(43.5%, 72%, 0%, 21.6%)
CIE-LABlab(38.74, 54.58, -65.55)
CIE-LCHlch(38.74, 85.30, 309.78°)
OKLaboklab(49.62% 0.0911 -0.1876)
OKLCHoklch(49.62% 0.209 295.9)
XYZxyz(18.6468, 10.5088, 55.6783)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7138C8 #8FC838
analogous
#3847C8 #7138C8 #B938C8
triadic
#7138C8 #C87138 #38C871
tetradic
#7138C8 #C83847 #8FC838 #38C8B9
square
#7138C8 #C83847 #8FC838 #38C8B9
split-complementary
#7138C8 #C8B938 #47C838
monochromatic
#3B1D69 #562A99 #7138C8 #9368D5 #B598E3

Accessibility & contrast

On white

6.77
#7138C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7138C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7138C8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7138C8#FFFFFF#000000##FFFFFF
##7138C81.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#595D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7138c8;
/* rgb */ color: rgb(113, 56, 200);
/* oklch */ color: oklch(49.6% 0.209 295.9);
Tailwind
colors: {
  custom: {
    50: '#a174da',
    500: '#7138c8',
    950: '#000000',
  },
}
SCSS
$custom: #7138c8;
$custom-light: #a174da;
$custom-dark: #000000;
JSON
{
  "hex": "#7138c8",
  "rgb": {
    "r": 113,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 263.75,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49623,
    "c": 0.20857,
    "h": 295.9
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#7138C8
secondary
#B5CE8E
accent
#E048A4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7138C8

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

Preview Lab → · Contrast checker → · Palette generator →

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