#7B46CF#7B46CF

#7B46CF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.201 H 296.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7B46CF
RGBrgb(123, 70, 207)
HSLhsl(263, 59%, 54%)
HSVhsv(263, 66%, 81%)
CMYKcmyk(40.6%, 66.2%, 0%, 18.8%)
CIE-LABlab(42.91, 51.30, -62.77)
CIE-LCHlch(42.91, 81.07, 309.25°)
OKLaboklab(53.02% 0.0902 -0.1792)
OKLCHoklch(53.02% 0.201 296.7)
XYZxyz(21.6181, 13.0959, 60.4082)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46CF #9ACF46
analogous
#4656CF #7B46CF #C046CF
triadic
#7B46CF #CF7B46 #46CF7B
tetradic
#7B46CF #CF4656 #9ACF46 #46CFC0
square
#7B46CF #CF4656 #9ACF46 #46CFC0
split-complementary
#7B46CF #CFC046 #56CF46
monochromatic
#43207B #5E2CAB #7B46CF #9E77DC #C0A7E8

Accessibility & contrast

On white

5.80
#7B46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7B46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46CF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46CF#FFFFFF#000000##FFFFFF
##7B46CF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#666685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b46cf;
/* rgb */ color: rgb(123, 70, 207);
/* oklch */ color: oklch(53.0% 0.201 296.7);
Tailwind
colors: {
  custom: {
    50: '#a77ddf',
    500: '#7b46cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b46cf;
$custom-light: #a77ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46cf",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 263.212,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5302,
    "c": 0.20058,
    "h": 296.7
  },
  "luminance": 0.13096
}

Semantic roles & 50–950 ramp

primary
#7B46CF
secondary
#BFD59B
accent
#E246A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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