#7B35CB#7B35CB

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

Color values

HEX#7B35CB
RGBrgb(123, 53, 203)
HSLhsl(268, 59%, 50%)
HSVhsv(268, 74%, 80%)
CMYKcmyk(39.4%, 73.9%, 0%, 20.4%)
CIE-LABlab(39.70, 58.40, -65.69)
CIE-LCHlch(39.70, 87.90, 311.64°)
OKLaboklab(50.64% 0.1074 -0.1876)
OKLCHoklch(50.64% 0.216 299.8)
XYZxyz(20.2183, 11.0687, 57.5596)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35CB #85CB35
analogous
#353ACB #7B35CB #C635CB
triadic
#7B35CB #CB7B35 #35CB7B
tetradic
#7B35CB #CB353A #85CB35 #35CBC6
square
#7B35CB #CB353A #85CB35 #35CBC6
split-complementary
#7B35CB #CBC635 #3ACB35
monochromatic
#401B6A #5E289B #7B35CB #9B66D8 #BB96E4

Accessibility & contrast

On white

6.53
#7B35CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7B35CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35CB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35CB#FFFFFF#000000##FFFFFF
##7B35CB1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#685B7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b35cb;
/* rgb */ color: rgb(123, 53, 203);
/* oklch */ color: oklch(50.6% 0.216 299.8);
Tailwind
colors: {
  custom: {
    50: '#a873dc',
    500: '#7b35cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b35cb;
$custom-light: #a873dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35cb",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 268,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.21621,
    "h": 299.8
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#7B35CB
secondary
#B0CF8C
accent
#E24699
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7B35CB

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

Preview Lab → · Contrast checker → · Palette generator →

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