#945FC0#945FC0

#945FC0 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.151 H 307.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#945FC0
RGBrgb(148, 95, 192)
HSLhsl(273, 43%, 56%)
HSVhsv(273, 51%, 75%)
CMYKcmyk(22.9%, 50.5%, 0%, 24.7%)
CIE-LABlab(49.84, 40.01, -42.84)
CIE-LCHlch(49.84, 58.62, 313.05°)
OKLaboklab(58.42% 0.0924 -0.12)
OKLCHoklch(58.42% 0.151 307.6)
XYZxyz(25.8175, 18.2864, 52.0285)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FC0 #8BC05F
analogous
#645FC0 #945FC0 #C05FBC
triadic
#945FC0 #C0945F #5FC094
tetradic
#945FC0 #C0645F #8BC05F #5FBCC0
square
#945FC0 #C0645F #8BC05F #5FBCC0
split-complementary
#945FC0 #BCC05F #5FC064
monochromatic
#562F76 #7540A2 #945FC0 #B18BD1 #CFB7E3

Accessibility & contrast

On white

4.51
#945FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#945FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FC0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FC0#FFFFFF#000000##000000
##945FC01.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4474C3
Deuteranopia (green-blind)
#5377BE
Tritanopia (blue-blind)
#8E7087
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #945fc0;
/* rgb */ color: rgb(148, 95, 192);
/* oklch */ color: oklch(58.4% 0.151 307.6);
Tailwind
colors: {
  custom: {
    50: '#b68ed3',
    500: '#945fc0',
    950: '#000000',
  },
}
SCSS
$custom: #945fc0;
$custom-light: #b68ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#945fc0",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 272.784,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.15142,
    "h": 307.6
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

primary
#945FC0
secondary
#BCD1A9
accent
#D3558E
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #945FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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