#6935C2#6935C2

#6935C2 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.205 H 294.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6935C2
RGBrgb(105, 53, 194)
HSLhsl(262, 57%, 48%)
HSVhsv(262, 73%, 76%)
CMYKcmyk(45.9%, 72.7%, 0%, 23.9%)
CIE-LABlab(36.83, 53.10, -65.22)
CIE-LCHlch(36.83, 84.10, 309.15°)
OKLaboklab(47.91% 0.0836 -0.1869)
OKLCHoklch(47.91% 0.205 294.1)
XYZxyz(16.8337, 9.4440, 51.9644)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6935C2 #8EC235
analogous
#3547C2 #6935C2 #AF35C2
triadic
#6935C2 #C26935 #35C269
tetradic
#6935C2 #C23547 #8EC235 #35C2AF
square
#6935C2 #C23547 #8EC235 #35C2AF
split-complementary
#6935C2 #C2AF35 #47C235
monochromatic
#351B62 #4F2892 #6935C2 #8B60D4 #AE91E1

Accessibility & contrast

On white

7.27
#6935C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6935C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6935C2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6935C2#FFFFFF#000000##FFFFFF
##6935C21.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#4F5A78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6935c2;
/* rgb */ color: rgb(105, 53, 194);
/* oklch */ color: oklch(47.9% 0.205 294.1);
Tailwind
colors: {
  custom: {
    50: '#9c71d5',
    500: '#6935c2',
    950: '#000000',
  },
}
SCSS
$custom: #6935c2;
$custom-light: #9c71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6935c2",
  "rgb": {
    "r": 105,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 262.128,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47908,
    "c": 0.20473,
    "h": 294.1
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#6935C2
secondary
#B2CC87
accent
#E047A8
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6935C2

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

Preview Lab → · Contrast checker → · Palette generator →

#6935C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva