#7A46CD#7A46CD

#7A46CD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.198 H 296.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7A46CD
RGBrgb(122, 70, 205)
HSLhsl(263, 57%, 54%)
HSVhsv(263, 66%, 80%)
CMYKcmyk(40.5%, 65.9%, 0%, 19.6%)
CIE-LABlab(42.65, 50.58, -62.04)
CIE-LCHlch(42.65, 80.05, 309.19°)
OKLaboklab(52.76% 0.0891 -0.177)
OKLCHoklch(52.76% 0.198 296.7)
XYZxyz(21.2328, 12.9253, 59.1219)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46CD #99CD46
analogous
#4656CD #7A46CD #BE46CD
triadic
#7A46CD #CD7A46 #46CD7A
tetradic
#7A46CD #CD4656 #99CD46 #46CDBE
square
#7A46CD #CD4656 #99CD46 #46CDBE
split-complementary
#7A46CD #CDBE46 #56CD46
monochromatic
#422078 #5D2DA8 #7A46CD #9D76DA #BFA6E7

Accessibility & contrast

On white

5.86
#7A46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7A46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46CD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46CD#FFFFFF#000000##FFFFFF
##7A46CD1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#656683
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a46cd;
/* rgb */ color: rgb(122, 70, 205);
/* oklch */ color: oklch(52.8% 0.198 296.7);
Tailwind
colors: {
  custom: {
    50: '#a67ddd',
    500: '#7a46cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a46cd;
$custom-light: #a67ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46cd",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 263.111,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.19817,
    "h": 296.7
  },
  "luminance": 0.12926
}

Semantic roles & 50–950 ramp

primary
#7A46CD
secondary
#BED49B
accent
#E147A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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