#5F43BE#5F43BE

#5F43BE is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.183 H 288.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5F43BE
RGBrgb(95, 67, 190)
HSLhsl(254, 49%, 50%)
HSVhsv(254, 65%, 75%)
CMYKcmyk(50%, 64.7%, 0%, 25.5%)
CIE-LABlab(38.14, 42.84, -60.78)
CIE-LCHlch(38.14, 74.36, 305.18°)
OKLaboklab(48.5% 0.0568 -0.1742)
OKLCHoklch(48.5% 0.183 288)
XYZxyz(16.0180, 10.1642, 49.8231)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F43BE #A2BE43
analogous
#4364BE #5F43BE #9D43BE
triadic
#5F43BE #BE5F43 #43BE5F
tetradic
#5F43BE #BE4364 #A2BE43 #43BE9D
square
#5F43BE #BE4364 #A2BE43 #43BE9D
split-complementary
#5F43BE #BE9D43 #64BE43
monochromatic
#312364 #483291 #5F43BE #8670CE #AC9EDD

Accessibility & contrast

On white

6.92
#5F43BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5F43BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F43BE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F43BE#FFFFFF#000000##FFFFFF
##5F43BE1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#3D617A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f43be;
/* rgb */ color: rgb(95, 67, 190);
/* oklch */ color: oklch(48.5% 0.183 288.0);
Tailwind
colors: {
  custom: {
    50: '#9479d2',
    500: '#5f43be',
    950: '#000000',
  },
}
SCSS
$custom: #5f43be;
$custom-light: #9479d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f43be",
  "rgb": {
    "r": 95,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 253.659,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48502,
    "c": 0.18323,
    "h": 288
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F43BE

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

Preview Lab → · Contrast checker → · Palette generator →

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