#945FE3#945FE3

#945FE3 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.193 H 299.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#945FE3
RGBrgb(148, 95, 227)
HSLhsl(264, 70%, 63%)
HSVhsv(264, 58%, 89%)
CMYKcmyk(34.8%, 58.1%, 0%, 11%)
CIE-LABlab(51.87, 48.53, -59.57)
CIE-LCHlch(51.87, 76.83, 309.17°)
OKLaboklab(60.57% 0.0938 -0.169)
OKLCHoklch(60.57% 0.193 299)
XYZxyz(30.1667, 20.0261, 74.9342)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FE3 #AEE35F
analogous
#5F6CE3 #945FE3 #D65FE3
triadic
#945FE3 #E3945F #5FE394
tetradic
#945FE3 #E35F6C #AEE35F #5FE3D6
square
#945FE3 #E35F6C #AEE35F #5FE3D6
split-complementary
#945FE3 #E3D65F #6CE35F
monochromatic
#561EAA #712BDA #945FE3 #B793EC #DAC7F5

Accessibility & contrast

On white

4.20
#945FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#945FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FE3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FE3#FFFFFF#000000##000000
##945FE31.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#167CE7
Deuteranopia (green-blind)
#327AE0
Tritanopia (blue-blind)
#837B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #945fe3;
/* rgb */ color: rgb(148, 95, 227);
/* oklch */ color: oklch(60.6% 0.193 299.0);
Tailwind
colors: {
  custom: {
    50: '#b88eec',
    500: '#945fe3',
    950: '#000000',
  },
}
SCSS
$custom: #945fe3;
$custom-light: #b88eec;
$custom-dark: #000000;
JSON
{
  "hex": "#945fe3",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 264.091,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60566,
    "c": 0.19327,
    "h": 299
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#945FE3
secondary
#D4E7B7
accent
#D21386
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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