#7B2ECF#7B2ECF

#7B2ECF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.3% C 0.227 H 299.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7B2ECF
RGBrgb(123, 46, 207)
HSLhsl(269, 64%, 50%)
HSVhsv(269, 78%, 81%)
CMYKcmyk(40.6%, 77.8%, 0%, 18.8%)
CIE-LABlab(39.02, 62.24, -69.11)
CIE-LCHlch(39.02, 93.01, 312.01°)
OKLaboklab(50.27% 0.1123 -0.1976)
OKLCHoklch(50.27% 0.227 299.6)
XYZxyz(20.4050, 10.6697, 60.0038)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2ECF #82CF2E
analogous
#2E31CF #7B2ECF #CC2ECF
triadic
#7B2ECF #CF7B2E #2ECF7B
tetradic
#7B2ECF #CF2E31 #82CF2E #2ECFCC
square
#7B2ECF #CF2E31 #82CF2E #2ECFCC
split-complementary
#7B2ECF #CFCC2E #31CF2E
monochromatic
#3F186B #5D239D #7B2ECF #9A5FDB #BA91E7

Accessibility & contrast

On white

6.70
#7B2ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7B2ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B2ECF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2ECF#FFFFFF#000000##FFFFFF
##7B2ECF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#675A7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b2ecf;
/* rgb */ color: rgb(123, 46, 207);
/* oklch */ color: oklch(50.3% 0.227 299.6);
Tailwind
colors: {
  custom: {
    50: '#a970df',
    500: '#7b2ecf',
    950: '#000000',
  },
}
SCSS
$custom: #7b2ecf;
$custom-light: #a970df;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2ecf",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 268.696,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.22731,
    "h": 299.6
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B2ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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