#7F43CB#7F43CB

#7F43CB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.200 H 299.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7F43CB
RGBrgb(127, 67, 203)
HSLhsl(266, 57%, 53%)
HSVhsv(266, 67%, 80%)
CMYKcmyk(37.4%, 67%, 0%, 20.4%)
CIE-LABlab(42.52, 52.59, -61.08)
CIE-LCHlch(42.52, 80.60, 310.73°)
OKLaboklab(52.75% 0.0993 -0.174)
OKLCHoklch(52.75% 0.2 299.7)
XYZxyz(21.5364, 12.8379, 57.8317)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43CB #8FCB43
analogous
#434BCB #7F43CB #C343CB
triadic
#7F43CB #CB7F43 #43CB7F
tetradic
#7F43CB #CB434B #8FCB43 #43CBC3
square
#7F43CB #CB434B #8FCB43 #43CBC3
split-complementary
#7F43CB #CBC343 #4BCB43
monochromatic
#452074 #612DA4 #7F43CB #A073D8 #C0A3E6

Accessibility & contrast

On white

5.89
#7F43CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7F43CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43CB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43CB#FFFFFF#000000##FFFFFF
##7F43CB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#6E6381
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f43cb;
/* rgb */ color: rgb(127, 67, 203);
/* oklch */ color: oklch(52.8% 0.200 299.7);
Tailwind
colors: {
  custom: {
    50: '#aa7bdc',
    500: '#7f43cb',
    950: '#000000',
  },
}
SCSS
$custom: #7f43cb;
$custom-light: #aa7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43cb",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 266.471,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52752,
    "c": 0.20036,
    "h": 299.7
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#7F43CB
secondary
#B8D298
accent
#E0489D
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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