#945FCF#945FCF

#945FCF is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.3% C 0.169 H 303.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#945FCF
RGBrgb(148, 95, 207)
HSLhsl(268, 54%, 59%)
HSVhsv(268, 54%, 81%)
CMYKcmyk(28.5%, 54.1%, 0%, 18.8%)
CIE-LABlab(50.67, 43.59, -50.13)
CIE-LCHlch(50.67, 66.43, 311.01°)
OKLaboklab(59.3% 0.0935 -0.1413)
OKLCHoklch(59.3% 0.169 303.5)
XYZxyz(27.5649, 18.9854, 61.2317)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FCF #9ACF5F
analogous
#5F62CF #945FCF #CC5FCF
triadic
#945FCF #CF945F #5FCF94
tetradic
#945FCF #CF5F62 #9ACF5F #5FCFCC
square
#945FCF #CF5F62 #9ACF5F #5FCFCC
split-complementary
#945FCF #CFCC5F #62CF5F
monochromatic
#57298A #7538B9 #945FCF #B38EDD #D3BDEB

Accessibility & contrast

On white

4.38
#945FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#945FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FCF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FCF#FFFFFF#000000##000000
##945FCF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3777D3
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#89748E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945fcf;
/* rgb */ color: rgb(148, 95, 207);
/* oklch */ color: oklch(59.3% 0.169 303.5);
Tailwind
colors: {
  custom: {
    50: '#b68ede',
    500: '#945fcf',
    950: '#000000',
  },
}
SCSS
$custom: #945fcf;
$custom-light: #b68ede;
$custom-dark: #000000;
JSON
{
  "hex": "#945fcf",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 268.393,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.16943,
    "h": 303.5
  },
  "luminance": 0.18985
}

Semantic roles & 50–950 ramp

primary
#945FCF
secondary
#C6DBAF
accent
#DD4B98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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