#945CE3#945CE3

#945CE3 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.1% C 0.197 H 299.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#945CE3
RGBrgb(148, 92, 227)
HSLhsl(265, 71%, 63%)
HSVhsv(265, 59%, 89%)
CMYKcmyk(34.8%, 59.5%, 0%, 11%)
CIE-LABlab(51.26, 50.14, -60.54)
CIE-LCHlch(51.26, 78.60, 309.63°)
OKLaboklab(60.12% 0.0974 -0.1718)
OKLCHoklch(60.12% 0.197 299.5)
XYZxyz(29.9016, 19.4960, 74.8459)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CE3 #ABE35C
analogous
#5C67E3 #945CE3 #D85CE3
triadic
#945CE3 #E3945C #5CE394
tetradic
#945CE3 #E35C67 #ABE35C #5CE3D8
square
#945CE3 #E35C67 #ABE35C #5CE3D8
split-complementary
#945CE3 #E3D85C #67E35C
monochromatic
#561DA8 #7228DA #945CE3 #B690EC #D9C4F5

Accessibility & contrast

On white

4.29
#945CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#945CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CE3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CE3#FFFFFF#000000##000000
##945CE31.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#017AE7
Deuteranopia (green-blind)
#2D79E0
Tritanopia (blue-blind)
#837997
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #945ce3;
/* rgb */ color: rgb(148, 92, 227);
/* oklch */ color: oklch(60.1% 0.197 299.5);
Tailwind
colors: {
  custom: {
    50: '#b88ced',
    500: '#945ce3',
    950: '#000000',
  },
}
SCSS
$custom: #945ce3;
$custom-light: #b88ced;
$custom-dark: #000000;
JSON
{
  "hex": "#945ce3",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 264.889,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60125,
    "c": 0.19749,
    "h": 299.5
  },
  "luminance": 0.19496
}

Semantic roles & 50–950 ramp

primary
#945CE3
secondary
#D2E6B5
accent
#D31383
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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