#7C35CB#7C35CB

#7C35CB is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.216 H 300.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7C35CB
RGBrgb(124, 53, 203)
HSLhsl(268, 59%, 50%)
HSVhsv(268, 74%, 80%)
CMYKcmyk(38.9%, 73.9%, 0%, 20.4%)
CIE-LABlab(39.82, 58.58, -65.48)
CIE-LCHlch(39.82, 87.86, 311.81°)
OKLaboklab(50.75% 0.1089 -0.187)
OKLCHoklch(50.75% 0.216 300.2)
XYZxyz(20.3621, 11.1429, 57.5664)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35CB #84CB35
analogous
#3539CB #7C35CB #C735CB
triadic
#7C35CB #CB7C35 #35CB7C
tetradic
#7C35CB #CB3539 #84CB35 #35CBC7
square
#7C35CB #CB3539 #84CB35 #35CBC7
split-complementary
#7C35CB #CBC735 #39CB35
monochromatic
#411B6A #5E289B #7C35CB #9C66D8 #BB96E4

Accessibility & contrast

On white

6.50
#7C35CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7C35CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C35CB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35CB#FFFFFF#000000##FFFFFF
##7C35CB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#6A5B7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c35cb;
/* rgb */ color: rgb(124, 53, 203);
/* oklch */ color: oklch(50.8% 0.216 300.2);
Tailwind
colors: {
  custom: {
    50: '#a973dc',
    500: '#7c35cb',
    950: '#000000',
  },
}
SCSS
$custom: #7c35cb;
$custom-light: #a973dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35cb",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 268.4,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50753,
    "c": 0.21637,
    "h": 300.2
  },
  "luminance": 0.11143
}

Semantic roles & 50–950 ramp

primary
#7C35CB
secondary
#B0CF8C
accent
#E24698
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7C35CB

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

Preview Lab → · Contrast checker → · Palette generator →

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