#7B239F#7B239F

#7B239F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.192 H 313.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7B239F
RGBrgb(123, 35, 159)
HSLhsl(283, 64%, 38%)
HSVhsv(283, 78%, 62%)
CMYKcmyk(22.6%, 78%, 0%, 37.6%)
CIE-LABlab(33.81, 55.67, -49.18)
CIE-LCHlch(33.81, 74.28, 318.54°)
OKLaboklab(45.43% 0.1327 -0.139)
OKLCHoklch(45.43% 0.192 313.7)
XYZxyz(15.0263, 7.9167, 33.5307)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B239F #479F23
analogous
#3D239F #7B239F #9F2385
triadic
#7B239F #9F7B23 #239F7B
tetradic
#7B239F #9F3D23 #479F23 #23859F
square
#7B239F #9F3D23 #479F23 #23859F
split-complementary
#7B239F #859F23 #239F3D
monochromatic
#2D0D3B #54186D #7B239F #A22ED1 #B860DC

Accessibility & contrast

On white

8.13
#7B239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7B239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B239F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B239F#FFFFFF#000000##FFFFFF
##7B239F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#16519C
Tritanopia (blue-blind)
#774060
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b239f;
/* rgb */ color: rgb(123, 35, 159);
/* oklch */ color: oklch(45.4% 0.192 313.7);
Tailwind
colors: {
  custom: {
    50: '#a568bc',
    500: '#7b239f',
    950: '#000000',
  },
}
SCSS
$custom: #7b239f;
$custom-light: #a568bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b239f",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 282.581,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.1922,
    "h": 313.7
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#7B239F
secondary
#7AC15D
accent
#E74171
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B239F

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

Preview Lab → · Contrast checker → · Palette generator →

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