#945CCB#945CCB

#945CCB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.169 H 305.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#945CCB
RGBrgb(148, 92, 203)
HSLhsl(270, 52%, 58%)
HSVhsv(270, 55%, 80%)
CMYKcmyk(27.1%, 54.7%, 0%, 20.4%)
CIE-LABlab(49.81, 44.27, -49.21)
CIE-LCHlch(49.81, 66.19, 311.97°)
OKLaboklab(58.6% 0.0972 -0.1386)
OKLCHoklch(58.6% 0.169 305)
XYZxyz(26.8171, 18.2621, 58.6005)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CCB #93CB5C
analogous
#5C5CCB #945CCB #CB5CCB
triadic
#945CCB #CB945C #5CCB94
tetradic
#945CCB #CB5C5C #93CB5C #5CCBCB
square
#945CCB #CB5C5C #93CB5C #5CCBCB
split-complementary
#945CCB #CBCB5C #5CCB5C
monochromatic
#572A83 #7539B1 #945CCB #B28ADA #D1B9E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##945CCB#FFFFFF#000000##000000
##945CCB1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#8B718B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #945ccb;
/* rgb */ color: rgb(148, 92, 203);
/* oklch */ color: oklch(58.6% 0.169 305.0);
Tailwind
colors: {
  custom: {
    50: '#b68cdb',
    500: '#945ccb',
    950: '#000000',
  },
}
SCSS
$custom: #945ccb;
$custom-light: #b68cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#945ccb",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 270.27,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58596,
    "c": 0.16929,
    "h": 305
  },
  "luminance": 0.18262
}

Semantic roles & 50–950 ramp

primary
#945CCB
secondary
#C1D8AB
accent
#DB4D93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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