#945FE0#945FE0

#945FE0 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.4% C 0.190 H 299.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#945FE0
RGBrgb(148, 95, 224)
HSLhsl(265, 68%, 63%)
HSVhsv(265, 58%, 88%)
CMYKcmyk(33.9%, 57.6%, 0%, 12.2%)
CIE-LABlab(51.68, 47.78, -58.17)
CIE-LCHlch(51.68, 75.28, 309.40°)
OKLaboklab(60.37% 0.0939 -0.1649)
OKLCHoklch(60.37% 0.19 299.7)
XYZxyz(29.7562, 19.8619, 72.7726)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FE0 #ABE05F
analogous
#5F6BE0 #945FE0 #D45FE0
triadic
#945FE0 #E0945F #5FE094
tetradic
#945FE0 #E05F6B #ABE05F #5FE0D4
square
#945FE0 #E05F6B #ABE05F #5FE0D4
split-complementary
#945FE0 #E0D45F #6BE05F
monochromatic
#5620A5 #722CD6 #945FE0 #B692EA #D9C6F4

Accessibility & contrast

On white

4.22
#945FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#945FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FE0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FE0#FFFFFF#000000##000000
##945FE01.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7BE4
Deuteranopia (green-blind)
#367ADD
Tritanopia (blue-blind)
#847A96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945fe0;
/* rgb */ color: rgb(148, 95, 224);
/* oklch */ color: oklch(60.4% 0.190 299.7);
Tailwind
colors: {
  custom: {
    50: '#b88eea',
    500: '#945fe0',
    950: '#000000',
  },
}
SCSS
$custom: #945fe0;
$custom-light: #b88eea;
$custom-dark: #000000;
JSON
{
  "hex": "#945fe0",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 264.651,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6037,
    "c": 0.18972,
    "h": 299.7
  },
  "luminance": 0.19862
}

Semantic roles & 50–950 ramp

primary
#945FE0
secondary
#D2E5B6
accent
#CF1683
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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