#7C35D2#7C35D2

#7C35D2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.224 H 298.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7C35D2
RGBrgb(124, 53, 210)
HSLhsl(267, 64%, 52%)
HSVhsv(267, 75%, 82%)
CMYKcmyk(41%, 74.8%, 0%, 17.6%)
CIE-LABlab(40.38, 60.27, -68.61)
CIE-LCHlch(40.38, 91.32, 311.30°)
OKLaboklab(51.33% 0.1072 -0.1962)
OKLCHoklch(51.33% 0.224 298.7)
XYZxyz(21.2152, 11.4841, 62.0592)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35D2 #8BD235
analogous
#353DD2 #7C35D2 #CB35D2
triadic
#7C35D2 #D27C35 #35D27C
tetradic
#7C35D2 #D2353D #8BD235 #35D2CB
square
#7C35D2 #D2353D #8BD235 #35D2CB
split-complementary
#7C35D2 #D2CB35 #3DD235
monochromatic
#421A73 #5F25A5 #7C35D2 #9C67DD #BD99E8

Accessibility & contrast

On white

6.37
#7C35D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7C35D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C35D2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35D2#FFFFFF#000000##FFFFFF
##7C35D21.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#675E82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c35d2;
/* rgb */ color: rgb(124, 53, 210);
/* oklch */ color: oklch(51.3% 0.224 298.7);
Tailwind
colors: {
  custom: {
    50: '#a973e1',
    500: '#7c35d2',
    950: '#000000',
  },
}
SCSS
$custom: #7c35d2;
$custom-light: #a973e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35d2",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 267.134,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51325,
    "c": 0.22358,
    "h": 298.7
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#7C35D2
secondary
#B5D48F
accent
#E7419C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7C35D2

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

Preview Lab → · Contrast checker → · Palette generator →

#7C35D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva