#7B47EA#7B47EA

#7B47EA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.230 H 291.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7B47EA
RGBrgb(123, 71, 234)
HSLhsl(259, 80%, 60%)
HSVhsv(259, 70%, 92%)
CMYKcmyk(47.4%, 69.7%, 0%, 8.2%)
CIE-LABlab(45.16, 57.88, -74.51)
CIE-LCHlch(45.16, 94.35, 307.84°)
OKLaboklab(55.28% 0.085 -0.2136)
OKLCHoklch(55.28% 0.23 291.7)
XYZxyz(25.2687, 14.6570, 79.3236)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47EA #B6EA47
analogous
#4765EA #7B47EA #CC47EA
triadic
#7B47EA #EA7B47 #47EA7B
tetradic
#7B47EA #EA4765 #B6EA47 #47EACC
square
#7B47EA #EA4765 #B6EA47 #47EACC
split-complementary
#7B47EA #EACC47 #65EA47
monochromatic
#4113A4 #5719DB #7B47EA #A27EF0 #CAB5F7

Accessibility & contrast

On white

5.34
#7B47EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7B47EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B47EA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B47EA#FFFFFF#000000##FFFFFF
##7B47EA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#587194
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b47ea;
/* rgb */ color: rgb(123, 71, 234);
/* oklch */ color: oklch(55.3% 0.230 291.7);
Tailwind
colors: {
  custom: {
    50: '#aa7ef2',
    500: '#7b47ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b47ea;
$custom-light: #aa7ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47ea",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 259.141,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55278,
    "c": 0.22993,
    "h": 291.7
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#7B47EA
secondary
#D2E6A7
accent
#F632B7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7B47EA

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

Preview Lab → · Contrast checker → · Palette generator →

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