#942CD0#942CD0

#942CD0 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.3% C 0.235 H 309.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#942CD0
RGBrgb(148, 44, 208)
HSLhsl(278, 65%, 49%)
HSVhsv(278, 79%, 82%)
CMYKcmyk(28.8%, 78.8%, 0%, 18.4%)
CIE-LABlab(42.23, 67.19, -64.30)
CIE-LCHlch(42.23, 93.00, 316.26°)
OKLaboklab(53.25% 0.1482 -0.1826)
OKLCHoklch(53.25% 0.235 309.1)
XYZxyz(24.4963, 12.6518, 60.8139)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942CD0 #68D02C
analogous
#422CD0 #942CD0 #D02CBA
triadic
#942CD0 #D0942C #2CD094
tetradic
#942CD0 #D0422C #68D02C #2CBAD0
square
#942CD0 #D0422C #68D02C #2CBAD0
split-complementary
#942CD0 #BAD02C #2CD042
monochromatic
#4C176B #70219D #942CD0 #AE5DDD #C78FE7

Accessibility & contrast

On white

5.95
#942CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#942CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942CD0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942CD0#FFFFFF#000000##FFFFFF
##942CD01.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#8B567F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #942cd0;
/* rgb */ color: rgb(148, 44, 208);
/* oklch */ color: oklch(53.3% 0.235 309.1);
Tailwind
colors: {
  custom: {
    50: '#b972df',
    500: '#942cd0',
    950: '#000000',
  },
}
SCSS
$custom: #942cd0;
$custom-light: #b972df;
$custom-dark: #000000;
JSON
{
  "hex": "#942cd0",
  "rgb": {
    "r": 148,
    "g": 44,
    "b": 208
  },
  "hsl": {
    "h": 278.049,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53251,
    "c": 0.2352,
    "h": 309.1
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#942CD0
secondary
#A2D286
accent
#E8407D
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #942CD0

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

Preview Lab → · Contrast checker → · Palette generator →

#942CD0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva