#5F43BD#5F43BD

#5F43BD is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.4% C 0.182 H 288.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5F43BD
RGBrgb(95, 67, 189)
HSLhsl(254, 48%, 50%)
HSVhsv(254, 65%, 74%)
CMYKcmyk(49.7%, 64.6%, 0%, 25.9%)
CIE-LABlab(38.06, 42.54, -60.32)
CIE-LCHlch(38.06, 73.82, 305.20°)
OKLaboklab(48.42% 0.0569 -0.1729)
OKLCHoklch(48.42% 0.182 288.2)
XYZxyz(15.9091, 10.1206, 49.2495)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F43BD #A1BD43
analogous
#4364BD #5F43BD #9C43BD
triadic
#5F43BD #BD5F43 #43BD5F
tetradic
#5F43BD #BD4364 #A1BD43 #43BD9C
square
#5F43BD #BD4364 #A1BD43 #43BD9C
split-complementary
#5F43BD #BD9C43 #64BD43
monochromatic
#312363 #483390 #5F43BD #8670CD #AC9EDD

Accessibility & contrast

On white

6.94
#5F43BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F43BD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F43BD#FFFFFF#000000##FFFFFF
##5F43BD1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#3E617A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f43bd;
/* rgb */ color: rgb(95, 67, 189);
/* oklch */ color: oklch(48.4% 0.182 288.2);
Tailwind
colors: {
  custom: {
    50: '#9479d2',
    500: '#5f43bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f43bd;
$custom-light: #9479d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f43bd",
  "rgb": {
    "r": 95,
    "g": 67,
    "b": 189
  },
  "hsl": {
    "h": 253.77,
    "s": 48.031,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.18197,
    "h": 288.2
  },
  "luminance": 0.10121
}

Semantic roles & 50–950 ramp

primary
#5F43BD
secondary
#BDC993
accent
#D850B9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5F43BD

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

Preview Lab → · Contrast checker → · Palette generator →

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