#7F43CC#7F43CC

#7F43CC is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.201 H 299.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7F43CC
RGBrgb(127, 67, 204)
HSLhsl(266, 57%, 53%)
HSVhsv(266, 67%, 80%)
CMYKcmyk(37.7%, 67.2%, 0%, 20%)
CIE-LABlab(42.59, 52.84, -61.54)
CIE-LCHlch(42.59, 81.11, 310.65°)
OKLaboklab(52.83% 0.0992 -0.1754)
OKLCHoklch(52.83% 0.201 299.5)
XYZxyz(21.6559, 12.8857, 58.4613)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43CC #90CC43
analogous
#434CCC #7F43CC #C343CC
triadic
#7F43CC #CC7F43 #43CC7F
tetradic
#7F43CC #CC434C #90CC43 #43CCC3
square
#7F43CC #CC434C #90CC43 #43CCC3
split-complementary
#7F43CC #CCC343 #4CCC43
monochromatic
#452075 #612DA5 #7F43CC #A073D9 #C1A3E6

Accessibility & contrast

On white

5.87
#7F43CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7F43CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43CC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43CC#FFFFFF#000000##FFFFFF
##7F43CC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#6D6382
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f43cc;
/* rgb */ color: rgb(127, 67, 204);
/* oklch */ color: oklch(52.8% 0.201 299.5);
Tailwind
colors: {
  custom: {
    50: '#aa7bdc',
    500: '#7f43cc',
    950: '#000000',
  },
}
SCSS
$custom: #7f43cc;
$custom-light: #aa7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43cc",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 266.277,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.20148,
    "h": 299.5
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#7F43CC
secondary
#B9D398
accent
#E1479D
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F43CC

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

Preview Lab → · Contrast checker → · Palette generator →

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