#7B45CF#7B45CF

#7B45CF is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.202 H 296.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7B45CF
RGBrgb(123, 69, 207)
HSLhsl(263, 59%, 54%)
HSVhsv(263, 67%, 81%)
CMYKcmyk(40.6%, 66.7%, 0%, 18.8%)
CIE-LABlab(42.72, 51.81, -63.08)
CIE-LCHlch(42.72, 81.63, 309.40°)
OKLaboklab(52.89% 0.0912 -0.18)
OKLCHoklch(52.89% 0.202 296.9)
XYZxyz(21.5561, 12.9718, 60.3875)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B45CF #99CF45
analogous
#4554CF #7B45CF #C045CF
triadic
#7B45CF #CF7B45 #45CF7B
tetradic
#7B45CF #CF4554 #99CF45 #45CFC0
square
#7B45CF #CF4554 #99CF45 #45CFC0
split-complementary
#7B45CF #CFC045 #54CF45
monochromatic
#43207A #5E2CAB #7B45CF #9E76DC #C0A6E8

Accessibility & contrast

On white

5.84
#7B45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B45CF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B45CF#FFFFFF#000000##FFFFFF
##7B45CF1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#666684
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b45cf;
/* rgb */ color: rgb(123, 69, 207);
/* oklch */ color: oklch(52.9% 0.202 296.9);
Tailwind
colors: {
  custom: {
    50: '#a77cdf',
    500: '#7b45cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b45cf;
$custom-light: #a77cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b45cf",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 263.478,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.20183,
    "h": 296.9
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

primary
#7B45CF
secondary
#BED59B
accent
#E246A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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