#945FF0#945FF0

#945FF0 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.4% C 0.209 H 296.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#945FF0
RGBrgb(148, 95, 240)
HSLhsl(262, 83%, 66%)
HSVhsv(262, 60%, 94%)
CMYKcmyk(38.3%, 60.4%, 0%, 5.9%)
CIE-LABlab(52.70, 51.83, -65.52)
CIE-LCHlch(52.70, 83.54, 308.34°)
OKLaboklab(61.44% 0.0934 -0.1865)
OKLCHoklch(61.44% 0.209 296.6)
XYZxyz(32.0291, 20.7710, 84.7429)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FF0 #BBF05F
analogous
#5F72F0 #945FF0 #DC5FF0
triadic
#945FF0 #F0945F #5FF094
tetradic
#945FF0 #F05F72 #BBF05F #5FF0DC
square
#945FF0 #F05F72 #BBF05F #5FF0DC
split-complementary
#945FF0 #F0DC5F #72F05F
monochromatic
#5312C2 #6F27EB #945FF0 #B997F5 #DFCFFA

Accessibility & contrast

On white

4.07
#945FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#945FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FF0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FF0#FFFFFF#000000##000000
##945FF01.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#177CED
Tritanopia (blue-blind)
#7E7F9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #945ff0;
/* rgb */ color: rgb(148, 95, 240);
/* oklch */ color: oklch(61.4% 0.209 296.6);
Tailwind
colors: {
  custom: {
    50: '#b98ff6',
    500: '#945ff0',
    950: '#000000',
  },
}
SCSS
$custom: #945ff0;
$custom-light: #b98ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#945ff0",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 261.931,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61438,
    "c": 0.20857,
    "h": 296.6
  },
  "luminance": 0.20772
}

Semantic roles & 50–950 ramp

primary
#945FF0
secondary
#DCEEBD
accent
#DF0690
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #945FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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