#943FE2#943FE2

#943FE2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.4% C 0.233 H 303.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#943FE2
RGBrgb(148, 63, 226)
HSLhsl(271, 74%, 57%)
HSVhsv(271, 72%, 89%)
CMYKcmyk(34.5%, 72.1%, 0%, 11.4%)
CIE-LABlab(46.10, 63.89, -68.33)
CIE-LCHlch(46.10, 93.54, 313.08°)
OKLaboklab(56.39% 0.1282 -0.1946)
OKLCHoklch(56.39% 0.233 303.4)
XYZxyz(27.7145, 15.3419, 73.4380)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FE2 #8DE23F
analogous
#433FE2 #943FE2 #E23FDF
triadic
#943FE2 #E2943F #3FE294
tetradic
#943FE2 #E2433F #8DE23F #3FDFE2
square
#943FE2 #E2433F #8DE23F #3FDFE2
split-complementary
#943FE2 #DFE23F #3FE243
monochromatic
#561691 #761EC6 #943FE2 #B274EA #CFA9F2

Accessibility & contrast

On white

5.16
#943FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#943FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FE2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FE2#FFFFFF#000000##FFFFFF
##943FE21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#84678D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #943fe2;
/* rgb */ color: rgb(148, 63, 226);
/* oklch */ color: oklch(56.4% 0.233 303.4);
Tailwind
colors: {
  custom: {
    50: '#b97bec',
    500: '#943fe2',
    950: '#000000',
  },
}
SCSS
$custom: #943fe2;
$custom-light: #b97bec;
$custom-dark: #000000;
JSON
{
  "hex": "#943fe2",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 271.288,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.23304,
    "h": 303.4
  },
  "luminance": 0.15342
}

Semantic roles & 50–950 ramp

primary
#943FE2
secondary
#BDE09D
accent
#F03790
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #943FE2

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

Preview Lab → · Contrast checker → · Palette generator →

#943FE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva