#5F43BC#5F43BC

#5F43BC is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.3% C 0.181 H 288.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5F43BC
RGBrgb(95, 67, 188)
HSLhsl(254, 47%, 50%)
HSVhsv(254, 64%, 74%)
CMYKcmyk(49.5%, 64.4%, 0%, 26.3%)
CIE-LABlab(37.98, 42.25, -59.86)
CIE-LCHlch(37.98, 73.27, 305.22°)
OKLaboklab(48.34% 0.057 -0.1715)
OKLCHoklch(48.34% 0.181 288.4)
XYZxyz(15.8009, 10.0774, 48.6798)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F43BC #A0BC43
analogous
#4364BC #5F43BC #9B43BC
triadic
#5F43BC #BC5F43 #43BC5F
tetradic
#5F43BC #BC4364 #A0BC43 #43BC9B
square
#5F43BC #BC4364 #A0BC43 #43BC9B
split-complementary
#5F43BC #BC9B43 #64BC43
monochromatic
#312362 #48338F #5F43BC #8570CC #AC9DDC

Accessibility & contrast

On white

6.96
#5F43BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5F43BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F43BC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F43BC#FFFFFF#000000##FFFFFF
##5F43BC1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#3F6079
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5f43bc;
/* rgb */ color: rgb(95, 67, 188);
/* oklch */ color: oklch(48.3% 0.181 288.4);
Tailwind
colors: {
  custom: {
    50: '#9479d1',
    500: '#5f43bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f43bc;
$custom-light: #9479d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f43bc",
  "rgb": {
    "r": 95,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 253.884,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.48341,
    "c": 0.18072,
    "h": 288.4
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#5F43BC
secondary
#BCC992
accent
#D751B8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5F43BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5F43BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva