#945EC9#945EC9

#945EC9 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.164 H 305.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#945EC9
RGBrgb(148, 94, 201)
HSLhsl(270, 50%, 58%)
HSVhsv(270, 53%, 79%)
CMYKcmyk(26.4%, 53.2%, 0%, 21.2%)
CIE-LABlab(50.12, 42.69, -47.58)
CIE-LCHlch(50.12, 63.93, 311.90°)
OKLaboklab(58.79% 0.0945 -0.1338)
OKLCHoklch(58.79% 0.164 305.2)
XYZxyz(26.7558, 18.5185, 57.4119)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945EC9 #93C95E
analogous
#5E5EC9 #945EC9 #C95EC9
triadic
#945EC9 #C9945E #5EC994
tetradic
#945EC9 #C95E5E #93C95E #5EC9C9
square
#945EC9 #C95E5E #93C95E #5EC9C9
split-complementary
#945EC9 #C9C95E #5EC95E
monochromatic
#572B81 #753BAF #945EC9 #B28CD8 #D1BAE8

Accessibility & contrast

On white

4.46
#945EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#945EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945EC9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945EC9#FFFFFF#000000##000000
##945EC91.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CD
Deuteranopia (green-blind)
#4C77C6
Tritanopia (blue-blind)
#8B728B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #945ec9;
/* rgb */ color: rgb(148, 94, 201);
/* oklch */ color: oklch(58.8% 0.164 305.2);
Tailwind
colors: {
  custom: {
    50: '#b68dda',
    500: '#945ec9',
    950: '#000000',
  },
}
SCSS
$custom: #945ec9;
$custom-light: #b68dda;
$custom-dark: #000000;
JSON
{
  "hex": "#945ec9",
  "rgb": {
    "r": 148,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 270.28,
    "s": 49.767,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58786,
    "c": 0.16381,
    "h": 305.2
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

primary
#945EC9
secondary
#C1D7AC
accent
#D94F93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #945EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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