#945AE3#945AE3

#945AE3 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.200 H 299.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#945AE3
RGBrgb(148, 90, 227)
HSLhsl(265, 71%, 62%)
HSVhsv(265, 60%, 89%)
CMYKcmyk(34.8%, 60.4%, 0%, 11%)
CIE-LABlab(50.87, 51.19, -61.18)
CIE-LCHlch(50.87, 79.77, 309.92°)
OKLaboklab(59.84% 0.0997 -0.1737)
OKLCHoklch(59.84% 0.2 299.9)
XYZxyz(29.7307, 19.1540, 74.7889)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945AE3 #A9E35A
analogous
#5A65E3 #945AE3 #D85AE3
triadic
#945AE3 #E3945A #5AE394
tetradic
#945AE3 #E35A65 #A9E35A #5AE3D8
square
#945AE3 #E35A65 #A9E35A #5AE3D8
split-complementary
#945AE3 #E3D85A #65E35A
monochromatic
#571CA6 #7226DA #945AE3 #B68EEC #D8C3F5

Accessibility & contrast

On white

4.35
#945AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#945AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945AE3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945AE3#FFFFFF#000000##000000
##945AE31.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#2878E0
Tritanopia (blue-blind)
#837796
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945ae3;
/* rgb */ color: rgb(148, 90, 227);
/* oklch */ color: oklch(59.8% 0.200 299.9);
Tailwind
colors: {
  custom: {
    50: '#b88bed',
    500: '#945ae3',
    950: '#000000',
  },
}
SCSS
$custom: #945ae3;
$custom-light: #b88bed;
$custom-dark: #000000;
JSON
{
  "hex": "#945ae3",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 265.401,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.20027,
    "h": 299.9
  },
  "luminance": 0.19154
}

Semantic roles & 50–950 ramp

primary
#945AE3
secondary
#D0E6B3
accent
#D31282
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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