#945BCA#945BCA

#945BCA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.170 H 305.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#945BCA
RGBrgb(148, 91, 202)
HSLhsl(271, 51%, 57%)
HSVhsv(271, 55%, 79%)
CMYKcmyk(26.7%, 55%, 0%, 20.8%)
CIE-LABlab(49.55, 44.57, -49.06)
CIE-LCHlch(49.55, 66.28, 312.25°)
OKLaboklab(58.38% 0.0985 -0.1381)
OKLCHoklch(58.38% 0.17 305.5)
XYZxyz(26.6122, 18.0425, 57.9462)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BCA #91CA5B
analogous
#5D5BCA #945BCA #CA5BC8
triadic
#945BCA #CA945B #5BCA94
tetradic
#945BCA #CA5D5B #91CA5B #5BC8CA
square
#945BCA #CA5D5B #91CA5B #5BC8CA
split-complementary
#945BCA #C8CA5B #5BCA5D
monochromatic
#562A81 #7639AF #945BCA #B289D9 #D0B8E8

Accessibility & contrast

On white

4.56
#945BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#945BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BCA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BCA#FFFFFF#000000##000000
##945BCA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#4876C7
Tritanopia (blue-blind)
#8B708A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #945bca;
/* rgb */ color: rgb(148, 91, 202);
/* oklch */ color: oklch(58.4% 0.170 305.5);
Tailwind
colors: {
  custom: {
    50: '#b68bdb',
    500: '#945bca',
    950: '#000000',
  },
}
SCSS
$custom: #945bca;
$custom-light: #b68bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#945bca",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 270.811,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58383,
    "c": 0.16965,
    "h": 305.5
  },
  "luminance": 0.18042
}

Semantic roles & 50–950 ramp

primary
#945BCA
secondary
#C0D7AA
accent
#DB4D92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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