#945FCB#945FCB

#945FCB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.165 H 304.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#945FCB
RGBrgb(148, 95, 203)
HSLhsl(269, 51%, 58%)
HSVhsv(269, 53%, 80%)
CMYKcmyk(27.1%, 53.2%, 0%, 20.4%)
CIE-LABlab(50.44, 42.62, -48.21)
CIE-LCHlch(50.44, 64.35, 311.48°)
OKLaboklab(59.06% 0.0933 -0.1357)
OKLCHoklch(59.06% 0.165 304.5)
XYZxyz(27.0821, 18.7922, 58.6889)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FCB #96CB5F
analogous
#5F60CB #945FCB #CA5FCB
triadic
#945FCB #CB945F #5FCB94
tetradic
#945FCB #CB5F60 #96CB5F #5FCBCA
square
#945FCB #CB5F60 #96CB5F #5FCBCA
split-complementary
#945FCB #CBCA5F #60CB5F
monochromatic
#572B85 #753AB3 #945FCB #B38DDA #D2BBE9

Accessibility & contrast

On white

4.41
#945FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#945FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FCB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FCB#FFFFFF#000000##000000
##945FCB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B77CF
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#8B738C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945fcb;
/* rgb */ color: rgb(148, 95, 203);
/* oklch */ color: oklch(59.1% 0.165 304.5);
Tailwind
colors: {
  custom: {
    50: '#b68edb',
    500: '#945fcb',
    950: '#000000',
  },
}
SCSS
$custom: #945fcb;
$custom-light: #b68edb;
$custom-dark: #000000;
JSON
{
  "hex": "#945fcb",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 269.444,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.16463,
    "h": 304.5
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#945FCB
secondary
#C3D8AD
accent
#DA4D95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #945FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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