#945AF3#945AF3

#945AF3 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.219 H 296.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#945AF3
RGBrgb(148, 90, 243)
HSLhsl(263, 86%, 65%)
HSVhsv(263, 63%, 95%)
CMYKcmyk(39.1%, 63%, 0%, 4.7%)
CIE-LABlab(51.93, 55.20, -68.45)
CIE-LCHlch(51.93, 87.94, 308.89°)
OKLaboklab(60.94% 0.0987 -0.1951)
OKLCHoklch(60.94% 0.219 296.8)
XYZxyz(32.0424, 20.0787, 86.9640)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945AF3 #B9F35A
analogous
#5A6CF3 #945AF3 #E05AF3
triadic
#945AF3 #F3945A #5AF394
tetradic
#945AF3 #F35A6C #B9F35A #5AF3E0
square
#945AF3 #F35A6C #B9F35A #5AF3E0
split-complementary
#945AF3 #F3E05A #6CF35A
monochromatic
#530EC4 #6F21EF #945AF3 #B993F7 #DECCFB

Accessibility & contrast

On white

4.19
#945AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#945AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945AF3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945AF3#FFFFFF#000000##000000
##945AF31.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#7D7D9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #945af3;
/* rgb */ color: rgb(148, 90, 243);
/* oklch */ color: oklch(60.9% 0.219 296.8);
Tailwind
colors: {
  custom: {
    50: '#b98cf8',
    500: '#945af3',
    950: '#000000',
  },
}
SCSS
$custom: #945af3;
$custom-light: #b98cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#945af3",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 262.745,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.21861,
    "h": 296.8
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#945AF3
secondary
#DBEEBB
accent
#E3038E
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #945AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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