#7235C4#7235C4

#7235C4 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.208 H 297.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7235C4
RGBrgb(114, 53, 196)
HSLhsl(266, 57%, 49%)
HSVhsv(266, 73%, 77%)
CMYKcmyk(41.8%, 73%, 0%, 23.1%)
CIE-LABlab(38.04, 55.13, -64.36)
CIE-LCHlch(38.04, 84.75, 310.58°)
OKLaboklab(49.05% 0.0962 -0.1841)
OKLCHoklch(49.05% 0.208 297.6)
XYZxyz(18.1738, 10.1088, 53.2075)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235C4 #87C435
analogous
#3540C4 #7235C4 #BA35C4
triadic
#7235C4 #C47235 #35C472
tetradic
#7235C4 #C43540 #87C435 #35C4BA
square
#7235C4 #C43540 #87C435 #35C4BA
split-complementary
#7235C4 #C4BA35 #40C435
monochromatic
#3A1B64 #562894 #7235C4 #9362D4 #B492E1

Accessibility & contrast

On white

6.95
#7235C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7235C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7235C4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235C4#FFFFFF#000000##FFFFFF
##7235C41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#5D5A7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7235c4;
/* rgb */ color: rgb(114, 53, 196);
/* oklch */ color: oklch(49.1% 0.208 297.6);
Tailwind
colors: {
  custom: {
    50: '#a272d7',
    500: '#7235c4',
    950: '#000000',
  },
}
SCSS
$custom: #7235c4;
$custom-light: #a272d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7235c4",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 265.594,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.20767,
    "h": 297.6
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#7235C4
secondary
#AFCC88
accent
#E1479F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7235C4

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

Preview Lab → · Contrast checker → · Palette generator →

#7235C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva