#7135C2#7135C2

#7135C2 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.8% C 0.205 H 297.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7135C2
RGBrgb(113, 53, 194)
HSLhsl(266, 57%, 48%)
HSVhsv(266, 73%, 76%)
CMYKcmyk(41.8%, 72.7%, 0%, 23.9%)
CIE-LABlab(37.76, 54.46, -63.66)
CIE-LCHlch(37.76, 83.77, 310.55°)
OKLaboklab(48.78% 0.0952 -0.182)
OKLCHoklch(48.78% 0.205 297.6)
XYZxyz(17.8182, 9.9516, 52.0106)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7135C2 #86C235
analogous
#353FC2 #7135C2 #B735C2
triadic
#7135C2 #C27135 #35C271
tetradic
#7135C2 #C2353F #86C235 #35C2B7
square
#7135C2 #C2353F #86C235 #35C2B7
split-complementary
#7135C2 #C2B735 #3FC235
monochromatic
#391B62 #552892 #7135C2 #9260D4 #B391E1

Accessibility & contrast

On white

7.02
#7135C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7135C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7135C2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7135C2#FFFFFF#000000##FFFFFF
##7135C21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#5C5978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7135c2;
/* rgb */ color: rgb(113, 53, 194);
/* oklch */ color: oklch(48.8% 0.205 297.6);
Tailwind
colors: {
  custom: {
    50: '#a172d5',
    500: '#7135c2',
    950: '#000000',
  },
}
SCSS
$custom: #7135c2;
$custom-light: #a172d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7135c2",
  "rgb": {
    "r": 113,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 265.532,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48775,
    "c": 0.20539,
    "h": 297.6
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#7135C2
secondary
#AECC87
accent
#E0479F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7135C2

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

Preview Lab → · Contrast checker → · Palette generator →

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