#945FCA#945FCA

#945FCA is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.163 H 304.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#945FCA
RGBrgb(148, 95, 202)
HSLhsl(270, 50%, 58%)
HSVhsv(270, 53%, 79%)
CMYKcmyk(26.7%, 53%, 0%, 20.8%)
CIE-LABlab(50.39, 42.38, -47.72)
CIE-LCHlch(50.39, 63.83, 311.61°)
OKLaboklab(59% 0.0932 -0.1342)
OKLCHoklch(59% 0.163 304.8)
XYZxyz(26.9633, 18.7447, 58.0633)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FCA #95CA5F
analogous
#5F5FCA #945FCA #CA5FCA
triadic
#945FCA #CA945F #5FCA94
tetradic
#945FCA #CA5F5F #95CA5F #5FCACA
square
#945FCA #CA5F5F #95CA5F #5FCACA
split-complementary
#945FCA #CACA5F #5FCA5F
monochromatic
#572B83 #753BB1 #945FCA #B38DD9 #D1BBE8

Accessibility & contrast

On white

4.42
#945FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#945FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FCA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FCA#FFFFFF#000000##000000
##945FCA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CE
Deuteranopia (green-blind)
#4C78C7
Tritanopia (blue-blind)
#8B738B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945fca;
/* rgb */ color: rgb(148, 95, 202);
/* oklch */ color: oklch(59.0% 0.163 304.8);
Tailwind
colors: {
  custom: {
    50: '#b68edb',
    500: '#945fca',
    950: '#000000',
  },
}
SCSS
$custom: #945fca;
$custom-light: #b68edb;
$custom-dark: #000000;
JSON
{
  "hex": "#945fca",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 269.72,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.16343,
    "h": 304.8
  },
  "luminance": 0.18745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #945FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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