#7035A2#7035A2

#7035A2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.170 H 305.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7035A2
RGBrgb(112, 53, 162)
HSLhsl(272, 51%, 42%)
HSVhsv(272, 67%, 64%)
CMYKcmyk(30.9%, 67.3%, 0%, 36.5%)
CIE-LABlab(35.20, 46.32, -48.82)
CIE-LCHlch(35.20, 67.29, 313.49°)
OKLaboklab(46.17% 0.0989 -0.1384)
OKLCHoklch(46.17% 0.17 305.5)
XYZxyz(14.4754, 8.5997, 35.0727)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7035A2 #67A235
analogous
#3935A2 #7035A2 #A2359E
triadic
#7035A2 #A27035 #35A270
tetradic
#7035A2 #A23935 #67A235 #359EA2
square
#7035A2 #A23935 #67A235 #359EA2
split-complementary
#7035A2 #9EA235 #35A239
monochromatic
#301746 #502674 #7035A2 #8F4FC5 #AC7DD4

Accessibility & contrast

On white

7.72
#7035A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7035A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7035A2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7035A2#FFFFFF#000000##FFFFFF
##7035A21.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#1653A0
Tritanopia (blue-blind)
#674D67
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7035a2;
/* rgb */ color: rgb(112, 53, 162);
/* oklch */ color: oklch(46.2% 0.170 305.5);
Tailwind
colors: {
  custom: {
    50: '#9d70be',
    500: '#7035a2',
    950: '#000000',
  },
}
SCSS
$custom: #7035a2;
$custom-light: #9d70be;
$custom-dark: #000000;
JSON
{
  "hex": "#7035a2",
  "rgb": {
    "r": 112,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 272.477,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.17014,
    "h": 305.5
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#7035A2
secondary
#96BD75
accent
#DA4E8E
background
#FAF7FB
surface
#F3EDF7
border
#CDC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7035A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7035A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva