#7B2DCF#7B2DCF

#7B2DCF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.2% C 0.228 H 299.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7B2DCF
RGBrgb(123, 45, 207)
HSLhsl(269, 64%, 49%)
HSVhsv(269, 78%, 81%)
CMYKcmyk(40.6%, 78.3%, 0%, 18.8%)
CIE-LABlab(38.89, 62.62, -69.33)
CIE-LCHlch(38.89, 93.43, 312.09°)
OKLaboklab(50.17% 0.113 -0.1983)
OKLCHoklch(50.17% 0.228 299.7)
XYZxyz(20.3664, 10.5925, 59.9909)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2DCF #81CF2D
analogous
#2D30CF #7B2DCF #CC2DCF
triadic
#7B2DCF #CF7B2D #2DCF7B
tetradic
#7B2DCF #CF2D30 #81CF2D #2DCFCC
square
#7B2DCF #CF2D30 #81CF2D #2DCFCC
split-complementary
#7B2DCF #CFCC2D #30CF2D
monochromatic
#3F176A #5D229D #7B2DCF #9A5DDC #BA90E7

Accessibility & contrast

On white

6.73
#7B2DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7B2DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B2DCF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2DCF#FFFFFF#000000##FFFFFF
##7B2DCF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#67597E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b2dcf;
/* rgb */ color: rgb(123, 45, 207);
/* oklch */ color: oklch(50.2% 0.228 299.7);
Tailwind
colors: {
  custom: {
    50: '#a96fdf',
    500: '#7b2dcf',
    950: '#000000',
  },
}
SCSS
$custom: #7b2dcf;
$custom-light: #a96fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2dcf",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 207
  },
  "hsl": {
    "h": 268.889,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.22824,
    "h": 299.7
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#7B2DCF
secondary
#ADD187
accent
#E74197
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7B2DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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