#7F43DC#7F43DC

#7F43DC is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.219 H 296.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7F43DC
RGBrgb(127, 67, 220)
HSLhsl(264, 69%, 56%)
HSVhsv(264, 70%, 86%)
CMYKcmyk(42.3%, 69.5%, 0%, 13.7%)
CIE-LABlab(43.79, 56.88, -68.78)
CIE-LCHlch(43.79, 89.25, 309.59°)
OKLaboklab(54.06% 0.0967 -0.1967)
OKLCHoklch(54.06% 0.219 296.2)
XYZxyz(23.6744, 13.6931, 69.0920)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43DC #A0DC43
analogous
#4354DC #7F43DC #CB43DC
triadic
#7F43DC #DC7F43 #43DC7F
tetradic
#7F43DC #DC4354 #A0DC43 #43DCCB
square
#7F43DC #DC4354 #A0DC43 #43DCCB
split-complementary
#7F43DC #DCCB43 #54DC43
monochromatic
#461A8B #6023BE #7F43DC #A277E6 #C5AAEF

Accessibility & contrast

On white

5.62
#7F43DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7F43DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43DC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43DC#FFFFFF#000000##FFFFFF
##7F43DC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#66698B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f43dc;
/* rgb */ color: rgb(127, 67, 220);
/* oklch */ color: oklch(54.1% 0.219 296.2);
Tailwind
colors: {
  custom: {
    50: '#ab7ce8',
    500: '#7f43dc',
    950: '#000000',
  },
}
SCSS
$custom: #7f43dc;
$custom-light: #ab7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43dc",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 263.529,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54059,
    "c": 0.21916,
    "h": 296.2
  },
  "luminance": 0.13694
}

Semantic roles & 50–950 ramp

primary
#7F43DC
secondary
#C4DD9E
accent
#EB3CA7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F43DC

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

Preview Lab → · Contrast checker → · Palette generator →

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