#7135C4#7135C4

#7135C4 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.208 H 297.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7135C4
RGBrgb(113, 53, 196)
HSLhsl(265, 57%, 49%)
HSVhsv(265, 73%, 77%)
CMYKcmyk(42.3%, 73%, 0%, 23.1%)
CIE-LABlab(37.92, 54.96, -64.56)
CIE-LCHlch(37.92, 84.79, 310.41°)
OKLaboklab(48.94% 0.0947 -0.1847)
OKLCHoklch(48.94% 0.208 297.2)
XYZxyz(18.0444, 10.0421, 53.2015)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7135C4 #88C435
analogous
#3540C4 #7135C4 #B935C4
triadic
#7135C4 #C47135 #35C471
tetradic
#7135C4 #C43540 #88C435 #35C4B9
square
#7135C4 #C43540 #88C435 #35C4B9
split-complementary
#7135C4 #C4B935 #40C435
monochromatic
#391B64 #552894 #7135C4 #9262D4 #B392E1

Accessibility & contrast

On white

6.98
#7135C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7135C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7135C4
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7135C4#FFFFFF#000000##FFFFFF
##7135C41.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#5C5A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7135c4;
/* rgb */ color: rgb(113, 53, 196);
/* oklch */ color: oklch(48.9% 0.208 297.2);
Tailwind
colors: {
  custom: {
    50: '#a172d7',
    500: '#7135c4',
    950: '#000000',
  },
}
SCSS
$custom: #7135c4;
$custom-light: #a172d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7135c4",
  "rgb": {
    "r": 113,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 265.175,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.20755,
    "h": 297.2
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#7135C4
secondary
#B0CC88
accent
#E147A0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7135C4

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

Preview Lab → · Contrast checker → · Palette generator →

#7135C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva