#7A35CB#7A35CB

#7A35CB is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.216 H 299.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7A35CB
RGBrgb(122, 53, 203)
HSLhsl(268, 59%, 50%)
HSVhsv(268, 74%, 80%)
CMYKcmyk(39.9%, 73.9%, 0%, 20.4%)
CIE-LABlab(39.57, 58.23, -65.89)
CIE-LCHlch(39.57, 87.94, 311.47°)
OKLaboklab(50.52% 0.106 -0.1883)
OKLCHoklch(50.52% 0.216 299.4)
XYZxyz(20.0759, 10.9953, 57.5529)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A35CB #86CB35
analogous
#353BCB #7A35CB #C535CB
triadic
#7A35CB #CB7A35 #35CB7A
tetradic
#7A35CB #CB353B #86CB35 #35CBC5
square
#7A35CB #CB353B #86CB35 #35CBC5
split-complementary
#7A35CB #CBC535 #3BCB35
monochromatic
#401B6A #5D289B #7A35CB #9A66D8 #BA96E4

Accessibility & contrast

On white

6.56
#7A35CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7A35CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A35CB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A35CB#FFFFFF#000000##FFFFFF
##7A35CB1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a35cb;
/* rgb */ color: rgb(122, 53, 203);
/* oklch */ color: oklch(50.5% 0.216 299.4);
Tailwind
colors: {
  custom: {
    50: '#a773dc',
    500: '#7a35cb',
    950: '#000000',
  },
}
SCSS
$custom: #7a35cb;
$custom-light: #a773dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a35cb",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 267.6,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50524,
    "c": 0.21608,
    "h": 299.4
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#7A35CB
secondary
#B1CF8C
accent
#E2469A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A35CB

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

Preview Lab → · Contrast checker → · Palette generator →

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