#7F43CA#7F43CA

#7F43CA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.199 H 299.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7F43CA
RGBrgb(127, 67, 202)
HSLhsl(267, 56%, 53%)
HSVhsv(267, 67%, 79%)
CMYKcmyk(37.1%, 66.8%, 0%, 20.8%)
CIE-LABlab(42.45, 52.34, -60.61)
CIE-LCHlch(42.45, 80.09, 310.81°)
OKLaboklab(52.68% 0.0995 -0.1727)
OKLCHoklch(52.68% 0.199 299.9)
XYZxyz(21.4176, 12.7904, 57.2061)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43CA #8ECA43
analogous
#434ACA #7F43CA #C343CA
triadic
#7F43CA #CA7F43 #43CA7F
tetradic
#7F43CA #CA434A #8ECA43 #43CAC3
square
#7F43CA #CA434A #8ECA43 #43CAC3
split-complementary
#7F43CA #CAC343 #4ACA43
monochromatic
#452072 #612EA2 #7F43CA #A073D7 #C0A2E5

Accessibility & contrast

On white

5.90
#7F43CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7F43CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43CA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43CA#FFFFFF#000000##FFFFFF
##7F43CA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#6E6281
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f43ca;
/* rgb */ color: rgb(127, 67, 202);
/* oklch */ color: oklch(52.7% 0.199 299.9);
Tailwind
colors: {
  custom: {
    50: '#aa7bdb',
    500: '#7f43ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f43ca;
$custom-light: #aa7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43ca",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 266.667,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.19925,
    "h": 299.9
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#7F43CA
secondary
#B8D297
accent
#DF489C
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F43CA

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

Preview Lab → · Contrast checker → · Palette generator →

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