#7B38AF#7B38AF

#7B38AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.8% C 0.183 H 306.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7B38AF
RGBrgb(123, 56, 175)
HSLhsl(274, 52%, 45%)
HSVhsv(274, 68%, 69%)
CMYKcmyk(29.7%, 68%, 0%, 31.4%)
CIE-LABlab(38.08, 50.35, -51.87)
CIE-LCHlch(38.08, 72.29, 314.15°)
OKLaboklab(48.83% 0.1092 -0.147)
OKLCHoklch(48.83% 0.183 306.6)
XYZxyz(17.3188, 10.1346, 41.5929)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B38AF #6CAF38
analogous
#4038AF #7B38AF #AF38A7
triadic
#7B38AF #AF7B38 #38AF7B
tetradic
#7B38AF #AF4038 #6CAF38 #38A7AF
square
#7B38AF #AF4038 #6CAF38 #38A7AF
split-complementary
#7B38AF #A7AF38 #38AF40
monochromatic
#3A1A52 #5A2981 #7B38AF #995ACA #B688D9

Accessibility & contrast

On white

6.94
#7B38AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7B38AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B38AF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B38AF#FFFFFF#000000##FFFFFF
##7B38AF1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#185AAC
Tritanopia (blue-blind)
#72526F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b38af;
/* rgb */ color: rgb(123, 56, 175);
/* oklch */ color: oklch(48.8% 0.183 306.6);
Tailwind
colors: {
  custom: {
    50: '#a574c8',
    500: '#7b38af',
    950: '#000000',
  },
}
SCSS
$custom: #7b38af;
$custom-light: #a574c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b38af",
  "rgb": {
    "r": 123,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 273.782,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48834,
    "c": 0.18315,
    "h": 306.6
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#7B38AF
secondary
#9DC380
accent
#DB4D8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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