#945FBF#945FBF

#945FBF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.150 H 307.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#945FBF
RGBrgb(148, 95, 191)
HSLhsl(273, 43%, 56%)
HSVhsv(273, 50%, 75%)
CMYKcmyk(22.5%, 50.3%, 0%, 25.1%)
CIE-LABlab(49.79, 39.78, -42.35)
CIE-LCHlch(49.79, 58.10, 313.21°)
OKLaboklab(58.36% 0.0923 -0.1185)
OKLCHoklch(58.36% 0.15 307.9)
XYZxyz(25.7071, 18.2422, 51.4470)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FBF #8ABF5F
analogous
#645FBF #945FBF #BF5FBA
triadic
#945FBF #BF945F #5FBF94
tetradic
#945FBF #BF645F #8ABF5F #5FBABF
square
#945FBF #BF645F #8ABF5F #5FBABF
split-complementary
#945FBF #BABF5F #5FBF64
monochromatic
#552F75 #7540A1 #945FBF #B18BD0 #CEB6E2

Accessibility & contrast

On white

4.52
#945FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#945FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FBF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FBF#FFFFFF#000000##000000
##945FBF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C2
Deuteranopia (green-blind)
#5477BD
Tritanopia (blue-blind)
#8E6F86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #945fbf;
/* rgb */ color: rgb(148, 95, 191);
/* oklch */ color: oklch(58.4% 0.150 307.9);
Tailwind
colors: {
  custom: {
    50: '#b68ed3',
    500: '#945fbf',
    950: '#000000',
  },
}
SCSS
$custom: #945fbf;
$custom-light: #b68ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#945fbf",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 273.125,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58364,
    "c": 0.15023,
    "h": 307.9
  },
  "luminance": 0.18242
}

Semantic roles & 50–950 ramp

primary
#945FBF
secondary
#BBD1A9
accent
#D3558D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #945FBF

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

Preview Lab → · Contrast checker → · Palette generator →

#945FBF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva