#7B35CF#7B35CF

#7B35CF is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.220 H 298.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7B35CF
RGBrgb(123, 53, 207)
HSLhsl(267, 62%, 51%)
HSVhsv(267, 74%, 81%)
CMYKcmyk(40.6%, 74.4%, 0%, 18.8%)
CIE-LABlab(40.02, 59.37, -67.48)
CIE-LCHlch(40.02, 89.88, 311.34°)
OKLaboklab(50.97% 0.1065 -0.1929)
OKLCHoklch(50.97% 0.22 298.9)
XYZxyz(20.7011, 11.2619, 60.1025)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35CF #89CF35
analogous
#353CCF #7B35CF #C835CF
triadic
#7B35CF #CF7B35 #35CF7B
tetradic
#7B35CF #CF353C #89CF35 #35CFC8
square
#7B35CF #CF353C #89CF35 #35CFC8
split-complementary
#7B35CF #CFC835 #3CCF35
monochromatic
#411A6F #5E26A1 #7B35CF #9B66DB #BC98E7

Accessibility & contrast

On white

6.46
#7B35CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7B35CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35CF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35CF#FFFFFF#000000##FFFFFF
##7B35CF1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#675D80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b35cf;
/* rgb */ color: rgb(123, 53, 207);
/* oklch */ color: oklch(51.0% 0.220 298.9);
Tailwind
colors: {
  custom: {
    50: '#a873df',
    500: '#7b35cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b35cf;
$custom-light: #a873df;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35cf",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 267.273,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.22036,
    "h": 298.9
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#7B35CF
secondary
#B3D28E
accent
#E5439B
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7B35CF

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

Preview Lab → · Contrast checker → · Palette generator →

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